#B4CD32#B4CD32
#B4CD32 is a light, vivid yellow. Relative luminance 0.536; OKLCH L 80.3% C 0.172 H 118.7°. Best body text is #000000 at 11.72:1 contrast (WCAG AA passes).
Color values
| HEX | #B4CD32 |
|---|---|
| RGB | rgb(180, 205, 50) |
| HSL | hsl(70, 61%, 50%) |
| HSV | hsv(70, 76%, 80%) |
| CMYK | cmyk(12.2%, 0%, 75.6%, 19.6%) |
| CIE-LAB | lab(78.23, -27.65, 68.78) |
| CIE-LCH | lch(78.23, 74.13, 111.90°) |
| OKLab | oklab(80.29% -0.0828 0.1513) |
| OKLCH | oklch(80.29% 0.173 118.7) |
| XYZ | xyz(41.2304, 53.5966, 11.1901) |
| Luminance | 0.5360 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 2.13
Baby Puke Green
#B6C406
ΔE00 3.70
Pea
#A4BF20
ΔE00 3.76
Bile
#B5C306
ΔE00 3.79
Gross Green
#A0BF16
ΔE00 4.10
Snot Green
#9DC100
ΔE00 4.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4CD32 #4B32CD
analogous
#CD9832 #B4CD32 #67CD32
triadic
#B4CD32 #32B4CD #CD32B4
tetradic
#B4CD32 #32CD98 #4B32CD #CD3267
square
#B4CD32 #32CD98 #4B32CD #CD3267
split-complementary
#B4CD32 #3267CD #9832CD
monochromatic
#5E6B1A #899C26 #B4CD32 #C6D963 #D8E594
Accessibility & contrast
On white
1.79
#B4CD32 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.72
#B4CD32 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4CD32
11.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4CD32 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4CD32 | 1.00 | 1.79 | 11.72 | 11.72 |
| #FFFFFF | 1.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DBC108
Deuteranopia (green-blind)
#D8C240
Tritanopia (blue-blind)
#BFC2B0
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #b4cd32; /* rgb */ color: rgb(180, 205, 50); /* oklch */ color: oklch(80.3% 0.172 118.7);
Tailwind
colors: {
custom: {
50: '#cedc76',
500: '#b4cd32',
950: '#000000',
},
}SCSS
$custom: #b4cd32; $custom-light: #cedc76; $custom-dark: #000000;
JSON
{
"hex": "#b4cd32",
"rgb": {
"r": 180,
"g": 205,
"b": 50
},
"hsl": {
"h": 69.677,
"s": 60.784,
"l": 50
},
"oklch": {
"l": 0.80285,
"c": 0.1725,
"h": 118.7
},
"luminance": 0.53596
}Semantic roles & 50–950 ramp
primary
#B4CD32
secondary
#3A2F74
accent
#44E45E
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141509
muted
#83847D