#B9CD3D#B9CD3D
#B9CD3D 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.86:1 contrast (WCAG AA passes).
Color values
| HEX | #B9CD3D |
|---|---|
| RGB | rgb(185, 205, 61) |
| HSL | hsl(68, 59%, 52%) |
| HSV | hsv(68, 70%, 80%) |
| CMYK | cmyk(9.8%, 0%, 70.2%, 19.6%) |
| CIE-LAB | lab(78.64, -25.06, 65.59) |
| CIE-LCH | lch(78.64, 70.22, 110.91°) |
| OKLab | oklab(80.73% -0.075 0.1463) |
| OKLCH | oklch(80.73% 0.164 117.1) |
| XYZ | xyz(42.6822, 54.3144, 12.6492) |
| Luminance | 0.5431 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 2.82
Baby Puke Green
#B6C406
ΔE00 3.75
Bile
#B5C306
ΔE00 3.86
Pea
#A4BF20
ΔE00 4.25
Gross Green
#A0BF16
ΔE00 4.75
Snot Green
#9DC100
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9CD3D #513DCD
analogous
#CD993D #B9CD3D #71CD3D
triadic
#B9CD3D #3DB9CD #CD3DB9
tetradic
#B9CD3D #3DCD99 #513DCD #CD3D71
square
#B9CD3D #3DCD99 #513DCD #CD3D71
split-complementary
#B9CD3D #3D71CD #993DCD
monochromatic
#66721D #92A32A #B9CD3D #CBDA6E #DCE69E
Accessibility & contrast
On white
1.77
#B9CD3D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.86
#B9CD3D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9CD3D
11.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9CD3D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9CD3D | 1.00 | 1.77 | 11.86 | 11.86 |
| #FFFFFF | 1.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DBC224
Deuteranopia (green-blind)
#D9C348
Tritanopia (blue-blind)
#C4C2B1
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #b9cd3d; /* rgb */ color: rgb(185, 205, 61); /* oklch */ color: oklch(80.7% 0.164 117.1);
Tailwind
colors: {
custom: {
50: '#d1dc7c',
500: '#b9cd3d',
950: '#000000',
},
}SCSS
$custom: #b9cd3d; $custom-light: #d1dc7c; $custom-dark: #000000;
JSON
{
"hex": "#b9cd3d",
"rgb": {
"r": 185,
"g": 205,
"b": 61
},
"hsl": {
"h": 68.333,
"s": 59.016,
"l": 52.157
},
"oklch": {
"l": 0.80731,
"c": 0.16439,
"h": 117.1
},
"luminance": 0.54314
}Semantic roles & 50–950 ramp
primary
#B9CD3D
secondary
#3D337B
accent
#46E25B
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D