#B8CD42#B8CD42
#B8CD42 is a light, vivid yellow. Relative luminance 0.542; OKLCH L 80.7% C 0.161 H 117.6°. Best body text is #000000 at 11.85:1 contrast (WCAG AA passes).
Color values
| HEX | #B8CD42 |
|---|---|
| RGB | rgb(184, 205, 66) |
| HSL | hsl(69, 58%, 53%) |
| HSV | hsv(69, 68%, 80%) |
| CMYK | cmyk(10.2%, 0%, 67.8%, 19.6%) |
| CIE-LAB | lab(78.61, -25.19, 63.68) |
| CIE-LCH | lch(78.61, 68.48, 111.58°) |
| OKLab | oklab(80.69% -0.0748 0.1431) |
| OKLCH | oklch(80.69% 0.161 117.6) |
| XYZ | xyz(42.5828, 54.2468, 13.3806) |
| Luminance | 0.5425 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 3.31
Baby Puke Green
#B6C406
ΔE00 4.24
Pea
#A4BF20
ΔE00 4.27
Bile
#B5C306
ΔE00 4.32
Gross Green
#A0BF16
ΔE00 4.76
Snot Green
#9DC100
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8CD42 #5742CD
analogous
#CD9D42 #B8CD42 #72CD42
triadic
#B8CD42 #42B8CD #CD42B8
tetradic
#B8CD42 #42CD9D #5742CD #CD4272
square
#B8CD42 #42CD9D #5742CD #CD4272
split-complementary
#B8CD42 #4272CD #9D42CD
monochromatic
#68761F #93A62C #B8CD42 #CADA72 #DCE7A3
Accessibility & contrast
On white
1.77
#B8CD42 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.85
#B8CD42 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8CD42
11.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8CD42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8CD42 | 1.00 | 1.77 | 11.85 | 11.85 |
| #FFFFFF | 1.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DAC22D
Deuteranopia (green-blind)
#D8C34D
Tritanopia (blue-blind)
#C3C2B1
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #b8cd42; /* rgb */ color: rgb(184, 205, 66); /* oklch */ color: oklch(80.7% 0.161 117.6);
Tailwind
colors: {
custom: {
50: '#d0dc7e',
500: '#b8cd42',
950: '#000000',
},
}SCSS
$custom: #b8cd42; $custom-light: #d0dc7e; $custom-dark: #000000;
JSON
{
"hex": "#b8cd42",
"rgb": {
"r": 184,
"g": 205,
"b": 66
},
"hsl": {
"h": 69.065,
"s": 58.159,
"l": 53.137
},
"oklch": {
"l": 0.80692,
"c": 0.16146,
"h": 117.6
},
"luminance": 0.54246
}Semantic roles & 50–950 ramp
primary
#B8CD42
secondary
#40357E
accent
#46E15E
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D