Celery color: hex code #B4C04C
Celery has the hex code #B4C04C. It is a desaturated yellow.
In the RGB color model it is made of 70.6% red, 75.3% green and 29.8% blue (180, 192, 76).
Its hue angle is 66°, with 48% saturation and 53% lightness. For print, the CMYK equivalent is 6% cyan, 0% magenta, 60% yellow and 25% black.
Black text is the more readable choice on this background (contrast 10.58:1).
Celery (#B4C04C) color codes
| HEX | #B4C04C | |
|---|---|---|
| RGB | rgb(180, 192, 76) | |
| RGB percent | rgb(70.6%, 75.3%, 29.8%) | |
| HSL | hsl(66, 48%, 53%) | |
| HSV / HSB | hsv(66, 60%, 75%) | |
| CMYK | cmyk(6%, 0%, 60%, 25%) | |
| CIE LAB | lab(74.78, -19.81, 55.49) | |
| CIE LCH | lch(74.78, 58.92, 109.65) | |
| CIE XYZ | xyz(38.977, 47.925, 14.033) | |
| Decimal | 11845708 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with Celery, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #B4C04C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.58:1 | Pass | Pass | Pass |
| Sample text | 1.98:1 | Fail | Fail | Fail |
| #B4C04C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.98:1 | Fail | Fail | Fail |
| Sample text | 10.58:1 | Pass | Pass | Pass |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #B4C04C looks to people with the most common types of color vision deficiency.
#cdb73eProtanopia
no red cones#ccb953Deuteranopia
no green cones#bfb6a7Tritanopia
no blue cones#b8b8b8Achromatopsia
no color vision
CSS examples
.background { background-color: #b4c04c; }
.text { color: #b4c04c; }
.border { border: 2px solid #b4c04c; }
.transparent { background-color: rgb(180 192 76 / 50%); }
.gradient { background: linear-gradient(to right, #b4c04c, #7ac04c); }
Similar colors
#b6bd4aSinsemilla#afbb33Lush Bamboo#a7c437Pesto di Pistacchio#acc326Sour Lime#a4bf20Pea#accb35Tender Shoot#a3c05aSapling#b1cf5dJuicy Lime
Closest common color name: Dark Khaki.
See #B4C04C on its hex code page
Questions
- What color is #B4C04C?
- #B4C04C is a desaturated yellow known as Celery. It belongs to the yellow family of colors.
- What is the RGB value of Celery?
- The RGB value is 180, 192, 76: 180 red, 192 green and 76 blue on a 0 to 255 scale.
- What is the complementary color of Celery?
- The complementary color is #584CC0, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #B4C04C?
- Black text. Black text has a contrast ratio of 10.58:1 and white text 1.98:1. WCAG asks for at least 4.5:1 for normal text.