#B9CD30#B9CD30
#B9CD30 is a light, vivid yellow. Relative luminance 0.542; OKLCH L 80.7% C 0.172 H 116.9°. Best body text is #000000 at 11.84:1 contrast (WCAG AA passes).
Color values
| HEX | #B9CD30 |
|---|---|
| RGB | rgb(185, 205, 48) |
| HSL | hsl(68, 62%, 50%) |
| HSV | hsv(68, 77%, 80%) |
| CMYK | cmyk(9.8%, 0%, 76.6%, 19.6%) |
| CIE-LAB | lab(78.57, -25.68, 69.84) |
| CIE-LCH | lch(78.57, 74.41, 110.19°) |
| OKLab | oklab(80.65% -0.0778 0.1531) |
| OKLCH | oklch(80.65% 0.172 116.9) |
| XYZ | xyz(42.3735, 54.1909, 11.0234) |
| Luminance | 0.5419 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 1.82
Baby Puke Green
#B6C406
ΔE00 2.99
Bile
#B5C306
ΔE00 3.14
Pea
#A4BF20
ΔE00 4.22
Gross Green
#A0BF16
ΔE00 4.67
Snot
#ACBB0D
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9CD30 #4430CD
analogous
#CD9230 #B9CD30 #6BCD30
triadic
#B9CD30 #30B9CD #CD30B9
tetradic
#B9CD30 #30CD92 #4430CD #CD306B
square
#B9CD30 #30CD92 #4430CD #CD306B
split-complementary
#B9CD30 #306BCD #9230CD
monochromatic
#5F6A19 #8C9B24 #B9CD30 #CADA60 #DBE592
Accessibility & contrast
On white
1.77
#B9CD30 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.84
#B9CD30 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9CD30
11.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9CD30 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9CD30 | 1.00 | 1.77 | 11.84 | 11.84 |
| #FFFFFF | 1.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DBC200
Deuteranopia (green-blind)
#D9C33F
Tritanopia (blue-blind)
#C5C1B0
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #b9cd30; /* rgb */ color: rgb(185, 205, 48); /* oklch */ color: oklch(80.7% 0.172 116.9);
Tailwind
colors: {
custom: {
50: '#d2dc75',
500: '#b9cd30',
950: '#000000',
},
}SCSS
$custom: #b9cd30; $custom-light: #d2dc75; $custom-dark: #000000;
JSON
{
"hex": "#b9cd30",
"rgb": {
"r": 185,
"g": 205,
"b": 48
},
"hsl": {
"h": 67.643,
"s": 62.055,
"l": 49.608
},
"oklch": {
"l": 0.80651,
"c": 0.17172,
"h": 116.9
},
"luminance": 0.5419
}Semantic roles & 50–950 ramp
primary
#B9CD30
secondary
#372E74
accent
#43E557
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151509
muted
#84847D