#B4C72A#B4C72A
#B4C72A is a light, vivid yellow. Relative luminance 0.507; OKLCH L 78.9% C 0.170 H 116.7°. Best body text is #000000 at 11.14:1 contrast (WCAG AA passes).
Color values
| HEX | #B4C72A |
|---|---|
| RGB | rgb(180, 199, 42) |
| HSL | hsl(67, 65%, 47%) |
| HSV | hsv(67, 79%, 78%) |
| CMYK | cmyk(9.5%, 0%, 78.9%, 22%) |
| CIE-LAB | lab(76.51, -25.10, 69.59) |
| CIE-LCH | lch(76.51, 73.98, 109.83°) |
| OKLab | oklab(78.89% -0.0763 0.1517) |
| OKLCH | oklch(78.89% 0.17 116.7) |
| XYZ | xyz(39.6648, 50.7179, 9.8900) |
| Luminance | 0.5072 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 2.12
Bile
#B5C306
ΔE00 2.15
Green Yellow
#B5CE08
ΔE00 2.39
Pea
#A4BF20
ΔE00 3.00
Snot
#ACBB0D
ΔE00 3.24
Gross Green
#A0BF16
ΔE00 3.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4C72A #3D2AC7
analogous
#C78B2A #B4C72A #66C72A
triadic
#B4C72A #2AB4C7 #C72AB4
tetradic
#B4C72A #2AC78B #3D2AC7 #C72A66
square
#B4C72A #2AC78B #3D2AC7 #C72A66
split-complementary
#B4C72A #2A66C7 #8B2AC7
monochromatic
#596215 #86941F #B4C72A #CADB53 #DAE586
Accessibility & contrast
On white
1.88
#B4C72A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.14
#B4C72A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4C72A
11.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4C72A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4C72A | 1.00 | 1.88 | 11.14 | 11.14 |
| #FFFFFF | 1.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5BC00
Deuteranopia (green-blind)
#D3BE39
Tritanopia (blue-blind)
#C0BBAA
Achromatopsia (no color)
#BDBDBD
Design tokens & code
CSS
--color: #b4c72a; /* rgb */ color: rgb(180, 199, 42); /* oklch */ color: oklch(78.9% 0.170 116.7);
Tailwind
colors: {
custom: {
50: '#ced772',
500: '#b4c72a',
950: '#000000',
},
}SCSS
$custom: #b4c72a; $custom-light: #ced772; $custom-dark: #000000;
JSON
{
"hex": "#b4c72a",
"rgb": {
"r": 180,
"g": 199,
"b": 42
},
"hsl": {
"h": 67.261,
"s": 65.145,
"l": 47.255
},
"oklch": {
"l": 0.78891,
"c": 0.16985,
"h": 116.7
},
"luminance": 0.50717
}Semantic roles & 50–950 ramp
primary
#B4C72A
secondary
#31296D
accent
#40E854
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D