#B5CC40#B5CC40
#B5CC40 is a light, vivid yellow. Relative luminance 0.534; OKLCH L 80.2% C 0.163 H 118.3°. Best body text is #000000 at 11.68:1 contrast (WCAG AA passes).
Color values
| HEX | #B5CC40 |
|---|---|
| RGB | rgb(181, 204, 64) |
| HSL | hsl(70, 58%, 53%) |
| HSV | hsv(70, 69%, 80%) |
| CMYK | cmyk(11.3%, 0%, 68.6%, 20%) |
| CIE-LAB | lab(78.10, -26.05, 63.85) |
| CIE-LCH | lch(78.10, 68.96, 112.19°) |
| OKLab | oklab(80.23% -0.0772 0.1432) |
| OKLCH | oklch(80.23% 0.163 118.3) |
| XYZ | xyz(41.5752, 53.3800, 12.9627) |
| Luminance | 0.5338 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 3.32
Pea
#A4BF20
ΔE00 3.87
Baby Puke Green
#B6C406
ΔE00 4.29
Gross Green
#A0BF16
ΔE00 4.33
Bile
#B5C306
ΔE00 4.35
Snot Green
#9DC100
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5CC40 #5740CC
analogous
#CC9D40 #B5CC40 #6FCC40
triadic
#B5CC40 #40B5CC #CC40B5
tetradic
#B5CC40 #40CC9D #5740CC #CC406F
square
#B5CC40 #40CC9D #5740CC #CC406F
split-complementary
#B5CC40 #406FCC #9D40CC
monochromatic
#65731F #90A32C #B5CC40 #C8D970 #DAE6A1
Accessibility & contrast
On white
1.80
#B5CC40 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.68
#B5CC40 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5CC40
11.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5CC40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5CC40 | 1.00 | 1.80 | 11.68 | 11.68 |
| #FFFFFF | 1.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D9C12A
Deuteranopia (green-blind)
#D7C24B
Tritanopia (blue-blind)
#C0C1B0
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #b5cc40; /* rgb */ color: rgb(181, 204, 64); /* oklch */ color: oklch(80.2% 0.163 118.3);
Tailwind
colors: {
custom: {
50: '#cedb7d',
500: '#b5cc40',
950: '#000000',
},
}SCSS
$custom: #b5cc40; $custom-light: #cedb7d; $custom-dark: #000000;
JSON
{
"hex": "#b5cc40",
"rgb": {
"r": 181,
"g": 204,
"b": 64
},
"hsl": {
"h": 69.857,
"s": 57.851,
"l": 52.549
},
"oklch": {
"l": 0.80227,
"c": 0.1627,
"h": 118.3
},
"luminance": 0.5338
}Semantic roles & 50–950 ramp
primary
#B5CC40
secondary
#40347C
accent
#47E160
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D