#B8CB37#B8CB37
#B8CB37 is a light, vivid yellow. Relative luminance 0.532; OKLCH L 80.2% C 0.166 H 116.7°. Best body text is #000000 at 11.64:1 contrast (WCAG AA passes).
Color values
| HEX | #B8CB37 |
|---|---|
| RGB | rgb(184, 203, 55) |
| HSL | hsl(68, 59%, 51%) |
| HSV | hsv(68, 73%, 80%) |
| CMYK | cmyk(9.4%, 0%, 72.9%, 20.4%) |
| CIE-LAB | lab(77.98, -24.81, 67.02) |
| CIE-LCH | lch(77.98, 71.46, 110.32°) |
| OKLab | oklab(80.17% -0.0747 0.1484) |
| OKLCH | oklch(80.17% 0.166 116.7) |
| XYZ | xyz(41.8137, 53.1786, 11.6755) |
| Luminance | 0.5318 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 2.52
Baby Puke Green
#B6C406
ΔE00 3.10
Bile
#B5C306
ΔE00 3.19
Pea
#A4BF20
ΔE00 3.85
Gross Green
#A0BF16
ΔE00 4.38
Snot
#ACBB0D
ΔE00 4.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8CB37 #4A37CB
analogous
#CB9437 #B8CB37 #6ECB37
triadic
#B8CB37 #37B8CB #CB37B8
tetradic
#B8CB37 #37CB94 #4A37CB #CB376E
square
#B8CB37 #37CB94 #4A37CB #CB376E
split-complementary
#B8CB37 #376ECB #9437CB
monochromatic
#616C1C #8D9C29 #B8CB37 #C9D868 #DAE498
Accessibility & contrast
On white
1.80
#B8CB37 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.64
#B8CB37 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8CB37
11.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8CB37 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8CB37 | 1.00 | 1.80 | 11.64 | 11.64 |
| #FFFFFF | 1.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D9C019
Deuteranopia (green-blind)
#D7C244
Tritanopia (blue-blind)
#C4BFAF
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #b8cb37; /* rgb */ color: rgb(184, 203, 55); /* oklch */ color: oklch(80.2% 0.166 116.7);
Tailwind
colors: {
custom: {
50: '#d1da78',
500: '#b8cb37',
950: '#000000',
},
}SCSS
$custom: #b8cb37; $custom-light: #d1da78; $custom-dark: #000000;
JSON
{
"hex": "#b8cb37",
"rgb": {
"r": 184,
"g": 203,
"b": 55
},
"hsl": {
"h": 67.703,
"s": 58.73,
"l": 50.588
},
"oklch": {
"l": 0.80168,
"c": 0.16612,
"h": 116.7
},
"luminance": 0.53178
}Semantic roles & 50–950 ramp
primary
#B8CB37
secondary
#3A3175
accent
#46E25A
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D