#B9CD2C#B9CD2C
#B9CD2C is a light, vivid yellow. Relative luminance 0.542; OKLCH L 80.6% C 0.174 H 116.9°. Best body text is #000000 at 11.83:1 contrast (WCAG AA passes).
Color values
| HEX | #B9CD2C |
|---|---|
| RGB | rgb(185, 205, 44) |
| HSL | hsl(67, 65%, 49%) |
| HSV | hsv(67, 79%, 80%) |
| CMYK | cmyk(9.8%, 0%, 78.5%, 19.6%) |
| CIE-LAB | lab(78.55, -25.84, 71.00) |
| CIE-LCH | lch(78.55, 75.55, 110.00°) |
| OKLab | oklab(80.63% -0.0785 0.1549) |
| OKLCH | oklch(80.63% 0.174 116.9) |
| XYZ | xyz(42.2946, 54.1593, 10.6081) |
| Luminance | 0.5416 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 1.58
Baby Puke Green
#B6C406
ΔE00 2.82
Bile
#B5C306
ΔE00 2.98
Pea
#A4BF20
ΔE00 4.26
Snot
#ACBB0D
ΔE00 4.63
Gross Green
#A0BF16
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9CD2C #402CCD
analogous
#CD912C #B9CD2C #69CD2C
triadic
#B9CD2C #2CB9CD #CD2CB9
tetradic
#B9CD2C #2CCD91 #402CCD #CD2C69
square
#B9CD2C #2CCD91 #402CCD #CD2C69
split-complementary
#B9CD2C #2C69CD #912CCD
monochromatic
#5E6816 #8C9B21 #B9CD2C #CCDC5B #DBE78D
Accessibility & contrast
On white
1.77
#B9CD2C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.83
#B9CD2C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9CD2C
11.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9CD2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9CD2C | 1.00 | 1.77 | 11.83 | 11.83 |
| #FFFFFF | 1.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DBC200
Deuteranopia (green-blind)
#DAC33C
Tritanopia (blue-blind)
#C5C1B0
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #b9cd2c; /* rgb */ color: rgb(185, 205, 44); /* oklch */ color: oklch(80.6% 0.174 116.9);
Tailwind
colors: {
custom: {
50: '#d2dc74',
500: '#b9cd2c',
950: '#000000',
},
}SCSS
$custom: #b9cd2c; $custom-light: #d2dc74; $custom-dark: #000000;
JSON
{
"hex": "#b9cd2c",
"rgb": {
"r": 185,
"g": 205,
"b": 44
},
"hsl": {
"h": 67.453,
"s": 64.659,
"l": 48.824
},
"oklch": {
"l": 0.8063,
"c": 0.17363,
"h": 116.9
},
"luminance": 0.54159
}Semantic roles & 50–950 ramp
primary
#B9CD2C
secondary
#342B72
accent
#40E855
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151509
muted
#84847D