#B9CC3A#B9CC3A
#B9CC3A is a light, vivid yellow. Relative luminance 0.538; OKLCH L 80.5% C 0.165 H 116.8°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).
Color values
| HEX | #B9CC3A |
|---|---|
| RGB | rgb(185, 204, 58) |
| HSL | hsl(68, 59%, 51%) |
| HSV | hsv(68, 72%, 80%) |
| CMYK | cmyk(9.3%, 0%, 71.6%, 20%) |
| CIE-LAB | lab(78.35, -24.74, 66.37) |
| CIE-LCH | lch(78.35, 70.83, 110.44°) |
| OKLab | oklab(80.49% -0.0743 0.1474) |
| OKLCH | oklch(80.49% 0.165 116.8) |
| XYZ | xyz(42.3652, 53.8061, 12.1560) |
| Luminance | 0.5381 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 2.65
Baby Puke Green
#B6C406
ΔE00 3.37
Bile
#B5C306
ΔE00 3.48
Pea
#A4BF20
ΔE00 4.10
Gross Green
#A0BF16
ΔE00 4.62
Snot
#ACBB0D
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9CC3A #4D3ACC
analogous
#CC963A #B9CC3A #70CC3A
triadic
#B9CC3A #3AB9CC #CC3AB9
tetradic
#B9CC3A #3ACC96 #4D3ACC #CC3A70
square
#B9CC3A #3ACC96 #4D3ACC #CC3A70
split-complementary
#B9CC3A #3A70CC #963ACC
monochromatic
#646F1D #90A029 #B9CC3A #CAD96B #DCE59B
Accessibility & contrast
On white
1.79
#B9CC3A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.76
#B9CC3A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9CC3A
11.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9CC3A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9CC3A | 1.00 | 1.79 | 11.76 | 11.76 |
| #FFFFFF | 1.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DAC11F
Deuteranopia (green-blind)
#D8C346
Tritanopia (blue-blind)
#C5C1B0
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #b9cc3a; /* rgb */ color: rgb(185, 204, 58); /* oklch */ color: oklch(80.5% 0.165 116.8);
Tailwind
colors: {
custom: {
50: '#d1db7a',
500: '#b9cc3a',
950: '#000000',
},
}SCSS
$custom: #b9cc3a; $custom-light: #d1db7a; $custom-dark: #000000;
JSON
{
"hex": "#b9cc3a",
"rgb": {
"r": 185,
"g": 204,
"b": 58
},
"hsl": {
"h": 67.808,
"s": 58.871,
"l": 51.373
},
"oklch": {
"l": 0.80488,
"c": 0.16512,
"h": 116.8
},
"luminance": 0.53806
}Semantic roles & 50–950 ramp
primary
#B9CC3A
secondary
#3B3278
accent
#46E25A
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D