#B8CD2F#B8CD2F
#B8CD2F is a light, vivid yellow. Relative luminance 0.541; OKLCH L 80.6% C 0.173 H 117.3°. Best body text is #000000 at 11.81:1 contrast (WCAG AA passes).
Color values
| HEX | #B8CD2F |
|---|---|
| RGB | rgb(184, 205, 47) |
| HSL | hsl(68, 63%, 49%) |
| HSV | hsv(68, 77%, 80%) |
| CMYK | cmyk(10.2%, 0%, 77.1%, 19.6%) |
| CIE-LAB | lab(78.50, -26.13, 70.05) |
| CIE-LCH | lch(78.50, 74.76, 110.46°) |
| OKLab | oklab(80.57% -0.079 0.1534) |
| OKLCH | oklch(80.57% 0.173 117.3) |
| XYZ | xyz(42.1126, 54.0587, 10.9047) |
| Luminance | 0.5406 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 1.73
Baby Puke Green
#B6C406
ΔE00 3.05
Bile
#B5C306
ΔE00 3.19
Pea
#A4BF20
ΔE00 4.12
Gross Green
#A0BF16
ΔE00 4.54
Snot
#ACBB0D
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8CD2F #442FCD
analogous
#CD932F #B8CD2F #69CD2F
triadic
#B8CD2F #2FB8CD #CD2FB8
tetradic
#B8CD2F #2FCD93 #442FCD #CD2F69
square
#B8CD2F #2FCD93 #442FCD #CD2F69
split-complementary
#B8CD2F #2F69CD #932FCD
monochromatic
#5F6918 #8B9B24 #B8CD2F #CADA5F #DAE691
Accessibility & contrast
On white
1.78
#B8CD2F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.81
#B8CD2F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8CD2F
11.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8CD2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8CD2F | 1.00 | 1.78 | 11.81 | 11.81 |
| #FFFFFF | 1.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DBC200
Deuteranopia (green-blind)
#D9C33E
Tritanopia (blue-blind)
#C4C1B0
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #b8cd2f; /* rgb */ color: rgb(184, 205, 47); /* oklch */ color: oklch(80.6% 0.173 117.3);
Tailwind
colors: {
custom: {
50: '#d1dc75',
500: '#b8cd2f',
950: '#000000',
},
}SCSS
$custom: #b8cd2f; $custom-light: #d1dc75; $custom-dark: #000000;
JSON
{
"hex": "#b8cd2f",
"rgb": {
"r": 184,
"g": 205,
"b": 47
},
"hsl": {
"h": 67.975,
"s": 62.698,
"l": 49.412
},
"oklch": {
"l": 0.80569,
"c": 0.17256,
"h": 117.3
},
"luminance": 0.54058
}Semantic roles & 50–950 ramp
primary
#B8CD2F
secondary
#362D73
accent
#42E658
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151509
muted
#84847D