#B8CD3A#B8CD3A
#B8CD3A is a light, vivid yellow. Relative luminance 0.542; OKLCH L 80.6% C 0.167 H 117.4°. Best body text is #000000 at 11.83:1 contrast (WCAG AA passes).
Color values
| HEX | #B8CD3A |
|---|---|
| RGB | rgb(184, 205, 58) |
| HSL | hsl(69, 60%, 52%) |
| HSV | hsv(69, 72%, 80%) |
| CMYK | cmyk(10.2%, 0%, 71.7%, 19.6%) |
| CIE-LAB | lab(78.55, -25.63, 66.54) |
| CIE-LCH | lch(78.55, 71.31, 111.06°) |
| OKLab | oklab(80.64% -0.0767 0.1478) |
| OKLCH | oklch(80.64% 0.167 117.4) |
| XYZ | xyz(42.3632, 54.1589, 12.2242) |
| Luminance | 0.5416 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 2.57
Baby Puke Green
#B6C406
ΔE00 3.65
Bile
#B5C306
ΔE00 3.76
Pea
#A4BF20
ΔE00 4.12
Gross Green
#A0BF16
ΔE00 4.58
Snot Green
#9DC100
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8CD3A #4F3ACD
analogous
#CD983A #B8CD3A #6FCD3A
triadic
#B8CD3A #3AB8CD #CD3AB8
tetradic
#B8CD3A #3ACD98 #4F3ACD #CD3A6F
square
#B8CD3A #3ACD98 #4F3ACD #CD3A6F
split-complementary
#B8CD3A #3A6FCD #983ACD
monochromatic
#64701C #90A129 #B8CD3A #CAD96B #DBE69C
Accessibility & contrast
On white
1.77
#B8CD3A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.83
#B8CD3A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8CD3A
11.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8CD3A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8CD3A | 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)
#DBC21E
Deuteranopia (green-blind)
#D9C346
Tritanopia (blue-blind)
#C3C2B1
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #b8cd3a; /* rgb */ color: rgb(184, 205, 58); /* oklch */ color: oklch(80.6% 0.167 117.4);
Tailwind
colors: {
custom: {
50: '#d1dc7a',
500: '#b8cd3a',
950: '#000000',
},
}SCSS
$custom: #b8cd3a; $custom-light: #d1dc7a; $custom-dark: #000000;
JSON
{
"hex": "#b8cd3a",
"rgb": {
"r": 184,
"g": 205,
"b": 58
},
"hsl": {
"h": 68.571,
"s": 59.514,
"l": 51.569
},
"oklch": {
"l": 0.80635,
"c": 0.16657,
"h": 117.4
},
"luminance": 0.54158
}Semantic roles & 50–950 ramp
primary
#B8CD3A
secondary
#3C3279
accent
#45E35C
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D