#B9CD3E#B9CD3E
#B9CD3E is a light, vivid yellow. Relative luminance 0.543; OKLCH L 80.7% C 0.164 H 117.1°. Best body text is #000000 at 11.87:1 contrast (WCAG AA passes).
Color values
| HEX | #B9CD3E |
|---|---|
| RGB | rgb(185, 205, 62) |
| HSL | hsl(68, 59%, 52%) |
| HSV | hsv(68, 70%, 80%) |
| CMYK | cmyk(9.8%, 0%, 69.8%, 19.6%) |
| CIE-LAB | lab(78.65, -25.01, 65.24) |
| CIE-LCH | lch(78.65, 69.87, 110.97°) |
| OKLab | oklab(80.74% -0.0747 0.1457) |
| OKLCH | oklch(80.74% 0.164 117.1) |
| XYZ | xyz(42.7094, 54.3252, 12.7924) |
| Luminance | 0.5433 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 2.91
Baby Puke Green
#B6C406
ΔE00 3.83
Bile
#B5C306
ΔE00 3.93
Pea
#A4BF20
ΔE00 4.27
Gross Green
#A0BF16
ΔE00 4.77
Snot Green
#9DC100
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9CD3E #523ECD
analogous
#CD9A3E #B9CD3E #71CD3E
triadic
#B9CD3E #3EB9CD #CD3EB9
tetradic
#B9CD3E #3ECD9A #523ECD #CD3E71
square
#B9CD3E #3ECD9A #523ECD #CD3E71
split-complementary
#B9CD3E #3E71CD #9A3ECD
monochromatic
#67731E #93A32A #B9CD3E #CBDA6F #DCE69F
Accessibility & contrast
On white
1.77
#B9CD3E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.87
#B9CD3E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9CD3E
11.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9CD3E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9CD3E | 1.00 | 1.77 | 11.87 | 11.87 |
| #FFFFFF | 1.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DBC226
Deuteranopia (green-blind)
#D9C349
Tritanopia (blue-blind)
#C4C2B1
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #b9cd3e; /* rgb */ color: rgb(185, 205, 62); /* oklch */ color: oklch(80.7% 0.164 117.1);
Tailwind
colors: {
custom: {
50: '#d1dc7c',
500: '#b9cd3e',
950: '#000000',
},
}SCSS
$custom: #b9cd3e; $custom-light: #d1dc7c; $custom-dark: #000000;
JSON
{
"hex": "#b9cd3e",
"rgb": {
"r": 185,
"g": 205,
"b": 62
},
"hsl": {
"h": 68.392,
"s": 58.848,
"l": 52.353
},
"oklch": {
"l": 0.80738,
"c": 0.16375,
"h": 117.1
},
"luminance": 0.54325
}Semantic roles & 50–950 ramp
primary
#B9CD3E
secondary
#3E347C
accent
#46E25C
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D