#B8CB40#B8CB40
#B8CB40 is a light, vivid yellow. Relative luminance 0.533; OKLCH L 80.2% C 0.161 H 116.9°. Best body text is #000000 at 11.65:1 contrast (WCAG AA passes).
Color values
| HEX | #B8CB40 |
|---|---|
| RGB | rgb(184, 203, 64) |
| HSL | hsl(68, 57%, 52%) |
| HSV | hsv(68, 68%, 80%) |
| CMYK | cmyk(9.4%, 0%, 68.5%, 20.4%) |
| CIE-LAB | lab(78.04, -24.34, 63.86) |
| CIE-LCH | lch(78.04, 68.34, 110.86°) |
| OKLab | oklab(80.23% -0.0726 0.1432) |
| OKLCH | oklch(80.23% 0.161 116.9) |
| XYZ | xyz(42.0495, 53.2729, 12.9170) |
| Luminance | 0.5327 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 3.28
Baby Puke Green
#B6C406
ΔE00 3.79
Bile
#B5C306
ΔE00 3.85
Pea
#A4BF20
ΔE00 3.99
Gross Green
#A0BF16
ΔE00 4.55
Snot
#ACBB0D
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8CB40 #5340CB
analogous
#CB9840 #B8CB40 #73CB40
triadic
#B8CB40 #40B8CB #CB40B8
tetradic
#B8CB40 #40CB98 #5340CB #CB4073
square
#B8CB40 #40CB98 #5340CB #CB4073
split-complementary
#B8CB40 #4073CB #9840CB
monochromatic
#66721F #92A22C #B8CB40 #CAD870 #DCE5A0
Accessibility & contrast
On white
1.80
#B8CB40 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.65
#B8CB40 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8CB40
11.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8CB40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8CB40 | 1.00 | 1.80 | 11.65 | 11.65 |
| #FFFFFF | 1.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D9C02A
Deuteranopia (green-blind)
#D7C24B
Tritanopia (blue-blind)
#C3C0AF
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #b8cb40; /* rgb */ color: rgb(184, 203, 64); /* oklch */ color: oklch(80.2% 0.161 116.9);
Tailwind
colors: {
custom: {
50: '#d1da7d',
500: '#b8cb40',
950: '#000000',
},
}SCSS
$custom: #b8cb40; $custom-light: #d1da7d; $custom-dark: #000000;
JSON
{
"hex": "#b8cb40",
"rgb": {
"r": 184,
"g": 203,
"b": 64
},
"hsl": {
"h": 68.201,
"s": 57.202,
"l": 52.353
},
"oklch": {
"l": 0.8023,
"c": 0.16053,
"h": 116.9
},
"luminance": 0.53272
}Semantic roles & 50–950 ramp
primary
#B8CB40
secondary
#3E357B
accent
#47E05C
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D