#B8CC37#B8CC37
#B8CC37 is a light, vivid yellow. Relative luminance 0.537; OKLCH L 80.4% C 0.167 H 117.1°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).
Color values
| HEX | #B8CC37 |
|---|---|
| RGB | rgb(184, 204, 55) |
| HSL | hsl(68, 59%, 51%) |
| HSV | hsv(68, 73%, 80%) |
| CMYK | cmyk(9.8%, 0%, 73%, 20%) |
| CIE-LAB | lab(78.26, -25.30, 67.28) |
| CIE-LCH | lch(78.26, 71.88, 110.60°) |
| OKLab | oklab(80.39% -0.0761 0.1489) |
| OKLCH | oklch(80.39% 0.167 117.1) |
| XYZ | xyz(42.0506, 53.6524, 11.7544) |
| Luminance | 0.5365 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 2.41
Baby Puke Green
#B6C406
ΔE00 3.28
Bile
#B5C306
ΔE00 3.38
Pea
#A4BF20
ΔE00 3.97
Gross Green
#A0BF16
ΔE00 4.46
Snot
#ACBB0D
ΔE00 4.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8CC37 #4B37CC
analogous
#CC9637 #B8CC37 #6DCC37
triadic
#B8CC37 #37B8CC #CC37B8
tetradic
#B8CC37 #37CC96 #4B37CC #CC376D
square
#B8CC37 #37CC96 #4B37CC #CC376D
split-complementary
#B8CC37 #376DCC #9637CC
monochromatic
#626D1C #8E9E28 #B8CC37 #C9D868 #DBE599
Accessibility & contrast
On white
1.79
#B8CC37 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.73
#B8CC37 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8CC37
11.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8CC37 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8CC37 | 1.00 | 1.79 | 11.73 | 11.73 |
| #FFFFFF | 1.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DAC118
Deuteranopia (green-blind)
#D8C244
Tritanopia (blue-blind)
#C3C0AF
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #b8cc37; /* rgb */ color: rgb(184, 204, 55); /* oklch */ color: oklch(80.4% 0.167 117.1);
Tailwind
colors: {
custom: {
50: '#d1db78',
500: '#b8cc37',
950: '#000000',
},
}SCSS
$custom: #b8cc37; $custom-light: #d1db78; $custom-dark: #000000;
JSON
{
"hex": "#b8cc37",
"rgb": {
"r": 184,
"g": 204,
"b": 55
},
"hsl": {
"h": 68.054,
"s": 59.363,
"l": 50.784
},
"oklch": {
"l": 0.80392,
"c": 0.16722,
"h": 117.1
},
"luminance": 0.53652
}Semantic roles & 50–950 ramp
primary
#B8CC37
secondary
#3A3176
accent
#45E35A
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D