#B4CC2C#B4CC2C
#B4CC2C is a light, vivid yellow. Relative luminance 0.531; OKLCH L 80.0% C 0.174 H 118.3°. Best body text is #000000 at 11.61:1 contrast (WCAG AA passes).
Color values
| HEX | #B4CC2C |
|---|---|
| RGB | rgb(180, 204, 44) |
| HSL | hsl(69, 65%, 49%) |
| HSV | hsv(69, 78%, 80%) |
| CMYK | cmyk(11.8%, 0%, 78.4%, 20%) |
| CIE-LAB | lab(77.92, -27.42, 70.29) |
| CIE-LCH | lch(77.92, 75.45, 111.31°) |
| OKLab | oklab(80.03% -0.0826 0.1535) |
| OKLCH | oklch(80.03% 0.174 118.3) |
| XYZ | xyz(40.8709, 53.0713, 10.4731) |
| Luminance | 0.5307 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 1.73
Baby Puke Green
#B6C406
ΔE00 3.20
Bile
#B5C306
ΔE00 3.30
Pea
#A4BF20
ΔE00 3.60
Gross Green
#A0BF16
ΔE00 3.95
Snot Green
#9DC100
ΔE00 4.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4CC2C #442CCC
analogous
#CC942C #B4CC2C #64CC2C
triadic
#B4CC2C #2CB4CC #CC2CB4
tetradic
#B4CC2C #2CCC94 #442CCC #CC2C64
square
#B4CC2C #2CCC94 #442CCC #CC2C64
split-complementary
#B4CC2C #2C64CC #942CCC
monochromatic
#5B6716 #889A21 #B4CC2C #C8DB5A #D9E68C
Accessibility & contrast
On white
1.81
#B4CC2C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.61
#B4CC2C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4CC2C
11.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4CC2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4CC2C | 1.00 | 1.81 | 11.61 | 11.61 |
| #FFFFFF | 1.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DAC000
Deuteranopia (green-blind)
#D7C13C
Tritanopia (blue-blind)
#BFC0AF
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #b4cc2c; /* rgb */ color: rgb(180, 204, 44); /* oklch */ color: oklch(80.0% 0.174 118.3);
Tailwind
colors: {
custom: {
50: '#cedb73',
500: '#b4cc2c',
950: '#000000',
},
}SCSS
$custom: #b4cc2c; $custom-light: #cedb73; $custom-dark: #000000;
JSON
{
"hex": "#b4cc2c",
"rgb": {
"r": 180,
"g": 204,
"b": 44
},
"hsl": {
"h": 69,
"s": 64.516,
"l": 48.627
},
"oklch": {
"l": 0.80027,
"c": 0.17435,
"h": 118.3
},
"luminance": 0.53071
}Semantic roles & 50–950 ramp
primary
#B4CC2C
secondary
#352B71
accent
#40E859
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141509
muted
#83847D