#B4CC2D#B4CC2D
#B4CC2D 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.62:1 contrast (WCAG AA passes).
Color values
| HEX | #B4CC2D |
|---|---|
| RGB | rgb(180, 204, 45) |
| HSL | hsl(69, 64%, 49%) |
| HSV | hsv(69, 78%, 80%) |
| CMYK | cmyk(11.8%, 0%, 77.9%, 20%) |
| CIE-LAB | lab(77.92, -27.38, 70.01) |
| CIE-LCH | lch(77.92, 75.17, 111.36°) |
| OKLab | oklab(80.03% -0.0824 0.1531) |
| OKLCH | oklch(80.03% 0.174 118.3) |
| XYZ | xyz(40.8899, 53.0789, 10.5733) |
| Luminance | 0.5308 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 1.80
Baby Puke Green
#B6C406
ΔE00 3.24
Bile
#B5C306
ΔE00 3.34
Pea
#A4BF20
ΔE00 3.59
Gross Green
#A0BF16
ΔE00 3.95
Snot Green
#9DC100
ΔE00 4.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4CC2D #452DCC
analogous
#CC952D #B4CC2D #65CC2D
triadic
#B4CC2D #2DB4CC #CC2DB4
tetradic
#B4CC2D #2DCC95 #452DCC #CC2D65
square
#B4CC2D #2DCC95 #452DCC #CC2D65
split-complementary
#B4CC2D #2D65CC #952DCC
monochromatic
#5C6817 #889A22 #B4CC2D #C8DB5B #D9E68D
Accessibility & contrast
On white
1.81
#B4CC2D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.62
#B4CC2D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4CC2D
11.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4CC2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4CC2D | 1.00 | 1.81 | 11.62 | 11.62 |
| #FFFFFF | 1.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DAC000
Deuteranopia (green-blind)
#D7C13D
Tritanopia (blue-blind)
#BFC0AF
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #b4cc2d; /* rgb */ color: rgb(180, 204, 45); /* oklch */ color: oklch(80.0% 0.174 118.3);
Tailwind
colors: {
custom: {
50: '#cedb74',
500: '#b4cc2d',
950: '#000000',
},
}SCSS
$custom: #b4cc2d; $custom-light: #cedb74; $custom-dark: #000000;
JSON
{
"hex": "#b4cc2d",
"rgb": {
"r": 180,
"g": 204,
"b": 45
},
"hsl": {
"h": 69.057,
"s": 63.855,
"l": 48.824
},
"oklch": {
"l": 0.80032,
"c": 0.17388,
"h": 118.3
},
"luminance": 0.53078
}Semantic roles & 50–950 ramp
primary
#B4CC2D
secondary
#362B72
accent
#41E75A
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141509
muted
#83847D