#B5CC39#B5CC39
#B5CC39 is a light, vivid yellow. Relative luminance 0.533; OKLCH L 80.2% C 0.167 H 118.2°. Best body text is #000000 at 11.66:1 contrast (WCAG AA passes).
Color values
| HEX | #B5CC39 |
|---|---|
| RGB | rgb(181, 204, 57) |
| HSL | hsl(69, 59%, 51%) |
| HSV | hsv(69, 72%, 80%) |
| CMYK | cmyk(11.3%, 0%, 72.1%, 20%) |
| CIE-LAB | lab(78.05, -26.43, 66.33) |
| CIE-LCH | lch(78.05, 71.40, 111.72°) |
| OKLab | oklab(80.18% -0.0789 0.1473) |
| OKLCH | oklch(80.18% 0.167 118.2) |
| XYZ | xyz(41.3883, 53.3053, 11.9787) |
| Luminance | 0.5331 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 2.67
Pea
#A4BF20
ΔE00 3.71
Baby Puke Green
#B6C406
ΔE00 3.78
Bile
#B5C306
ΔE00 3.85
Gross Green
#A0BF16
ΔE00 4.14
Snot Green
#9DC100
ΔE00 4.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5CC39 #5039CC
analogous
#CC9939 #B5CC39 #6BCC39
triadic
#B5CC39 #39B5CC #CC39B5
tetradic
#B5CC39 #39CC99 #5039CC #CC396B
square
#B5CC39 #39CC99 #5039CC #CC396B
split-complementary
#B5CC39 #396BCC #9939CC
monochromatic
#616E1C #8C9F29 #B5CC39 #C7D96A #D9E59A
Accessibility & contrast
On white
1.80
#B5CC39 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.66
#B5CC39 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5CC39
11.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5CC39 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5CC39 | 1.00 | 1.80 | 11.66 | 11.66 |
| #FFFFFF | 1.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DAC11D
Deuteranopia (green-blind)
#D7C245
Tritanopia (blue-blind)
#C0C1B0
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #b5cc39; /* rgb */ color: rgb(181, 204, 57); /* oklch */ color: oklch(80.2% 0.167 118.2);
Tailwind
colors: {
custom: {
50: '#cfdb79',
500: '#b5cc39',
950: '#000000',
},
}SCSS
$custom: #b5cc39; $custom-light: #cfdb79; $custom-dark: #000000;
JSON
{
"hex": "#b5cc39",
"rgb": {
"r": 181,
"g": 204,
"b": 57
},
"hsl": {
"h": 69.388,
"s": 59.036,
"l": 51.176
},
"oklch": {
"l": 0.80177,
"c": 0.16711,
"h": 118.2
},
"luminance": 0.53305
}Semantic roles & 50–950 ramp
primary
#B5CC39
secondary
#3D3278
accent
#46E25E
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D