#B5CC2C#B5CC2C
#B5CC2C is a light, vivid yellow. Relative luminance 0.532; OKLCH L 80.1% C 0.174 H 117.9°. Best body text is #000000 at 11.64:1 contrast (WCAG AA passes).
Color values
| HEX | #B5CC2C |
|---|---|
| RGB | rgb(181, 204, 44) |
| HSL | hsl(69, 65%, 49%) |
| HSV | hsv(69, 78%, 80%) |
| CMYK | cmyk(11.3%, 0%, 78.4%, 20%) |
| CIE-LAB | lab(77.99, -27.01, 70.38) |
| CIE-LCH | lch(77.99, 75.38, 110.99°) |
| OKLab | oklab(80.1% -0.0815 0.1537) |
| OKLCH | oklch(80.1% 0.174 117.9) |
| XYZ | xyz(41.1045, 53.1918, 10.4840) |
| Luminance | 0.5319 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 1.67
Baby Puke Green
#B6C406
ΔE00 3.06
Bile
#B5C306
ΔE00 3.17
Pea
#A4BF20
ΔE00 3.69
Gross Green
#A0BF16
ΔE00 4.07
Snot Green
#9DC100
ΔE00 4.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5CC2C #432CCC
analogous
#CC932C #B5CC2C #65CC2C
triadic
#B5CC2C #2CB5CC #CC2CB5
tetradic
#B5CC2C #2CCC93 #432CCC #CC2C65
square
#B5CC2C #2CCC93 #432CCC #CC2C65
split-complementary
#B5CC2C #2C65CC #932CCC
monochromatic
#5C6716 #889A21 #B5CC2C #C9DB5A #D9E68C
Accessibility & contrast
On white
1.80
#B5CC2C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.64
#B5CC2C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5CC2C
11.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5CC2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5CC2C | 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)
#DAC000
Deuteranopia (green-blind)
#D8C23C
Tritanopia (blue-blind)
#C0C0AF
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #b5cc2c; /* rgb */ color: rgb(181, 204, 44); /* oklch */ color: oklch(80.1% 0.174 117.9);
Tailwind
colors: {
custom: {
50: '#cfdb73',
500: '#b5cc2c',
950: '#000000',
},
}SCSS
$custom: #b5cc2c; $custom-light: #cfdb73; $custom-dark: #000000;
JSON
{
"hex": "#b5cc2c",
"rgb": {
"r": 181,
"g": 204,
"b": 44
},
"hsl": {
"h": 68.625,
"s": 64.516,
"l": 48.627
},
"oklch": {
"l": 0.80102,
"c": 0.17398,
"h": 117.9
},
"luminance": 0.53191
}Semantic roles & 50–950 ramp
primary
#B5CC2C
secondary
#352B71
accent
#40E858
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141509
muted
#83847D