#B8CB34#B8CB34
#B8CB34 is a light, vivid yellow. Relative luminance 0.531; OKLCH L 80.2% C 0.168 H 116.7°. Best body text is #000000 at 11.63:1 contrast (WCAG AA passes).
Color values
| HEX | #B8CB34 |
|---|---|
| RGB | rgb(184, 203, 52) |
| HSL | hsl(68, 59%, 50%) |
| HSV | hsv(68, 74%, 80%) |
| CMYK | cmyk(9.4%, 0%, 74.4%, 20.4%) |
| CIE-LAB | lab(77.96, -24.95, 68.00) |
| CIE-LCH | lch(77.96, 72.43, 110.15°) |
| OKLab | oklab(80.15% -0.0754 0.1499) |
| OKLCH | oklch(80.15% 0.168 116.7) |
| XYZ | xyz(41.7440, 53.1507, 11.3082) |
| Luminance | 0.5315 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 2.30
Baby Puke Green
#B6C406
ΔE00 2.90
Bile
#B5C306
ΔE00 3.01
Pea
#A4BF20
ΔE00 3.85
Snot
#ACBB0D
ΔE00 4.32
Gross Green
#A0BF16
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8CB34 #4734CB
analogous
#CB9334 #B8CB34 #6CCB34
triadic
#B8CB34 #34B8CB #CB34B8
tetradic
#B8CB34 #34CB93 #4734CB #CB346C
square
#B8CB34 #34CB93 #4734CB #CB346C
split-complementary
#B8CB34 #346CCB #9334CB
monochromatic
#606A1B #8C9A28 #B8CB34 #C9D765 #DAE495
Accessibility & contrast
On white
1.81
#B8CB34 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.63
#B8CB34 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8CB34
11.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8CB34 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8CB34 | 1.00 | 1.81 | 11.63 | 11.63 |
| #FFFFFF | 1.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D9C011
Deuteranopia (green-blind)
#D7C241
Tritanopia (blue-blind)
#C4BFAE
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #b8cb34; /* rgb */ color: rgb(184, 203, 52); /* oklch */ color: oklch(80.2% 0.168 116.7);
Tailwind
colors: {
custom: {
50: '#d1da77',
500: '#b8cb34',
950: '#000000',
},
}SCSS
$custom: #b8cb34; $custom-light: #d1da77; $custom-dark: #000000;
JSON
{
"hex": "#b8cb34",
"rgb": {
"r": 184,
"g": 203,
"b": 52
},
"hsl": {
"h": 67.55,
"s": 59.216,
"l": 50
},
"oklch": {
"l": 0.8015,
"c": 0.1678,
"h": 116.7
},
"luminance": 0.5315
}Semantic roles & 50–950 ramp
primary
#B8CB34
secondary
#383073
accent
#45E259
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D