#B4C04A#B4C04A
#B4C04A is a light, vivid yellow. Relative luminance 0.479; OKLCH L 77.6% C 0.142 H 114.7°. Best body text is #000000 at 10.58:1 contrast (WCAG AA passes).
Color values
| HEX | #B4C04A |
|---|---|
| RGB | rgb(180, 192, 74) |
| HSL | hsl(66, 48%, 52%) |
| HSV | hsv(66, 61%, 75%) |
| CMYK | cmyk(6.2%, 0%, 61.5%, 24.7%) |
| CIE-LAB | lab(74.76, -19.95, 56.33) |
| CIE-LCH | lch(74.76, 59.76, 109.50°) |
| OKLab | oklab(77.55% -0.0591 0.1289) |
| OKLCH | oklch(77.55% 0.142 114.7) |
| XYZ | xyz(38.9089, 47.8976, 13.6727) |
| Luminance | 0.4790 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 4.21
Snot
#ACBB0D
ΔE00 4.40
Sick Green
#9DB92C
ΔE00 4.51
Booger
#9BB53C
ΔE00 4.85
Bile
#B5C306
ΔE00 4.86
Gross Green
#A0BF16
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4C04A #564AC0
analogous
#C0914A #B4C04A #79C04A
triadic
#B4C04A #4AB4C0 #C04AB4
tetradic
#B4C04A #4AC091 #564AC0 #C04A79
square
#B4C04A #4AC091 #564AC0 #C04A79
split-complementary
#B4C04A #4A79C0 #914AC0
monochromatic
#636B25 #8E9835 #B4C04A #C7D077 #DAE0A5
Accessibility & contrast
On white
1.98
#B4C04A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.58
#B4C04A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4C04A
10.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4C04A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4C04A | 1.00 | 1.98 | 10.58 | 10.58 |
| #FFFFFF | 1.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDB73C
Deuteranopia (green-blind)
#CCB952
Tritanopia (blue-blind)
#BFB6A7
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #b4c04a; /* rgb */ color: rgb(180, 192, 74); /* oklch */ color: oklch(77.6% 0.142 114.7);
Tailwind
colors: {
custom: {
50: '#cdd282',
500: '#b4c04a',
950: '#000000',
},
}SCSS
$custom: #b4c04a; $custom-light: #cdd282; $custom-dark: #000000;
JSON
{
"hex": "#b4c04a",
"rgb": {
"r": 180,
"g": 192,
"b": 74
},
"hsl": {
"h": 66.102,
"s": 48.361,
"l": 52.157
},
"oklch": {
"l": 0.77553,
"c": 0.14178,
"h": 114.7
},
"luminance": 0.47897
}Semantic roles & 50–950 ramp
primary
#B4C04A
secondary
#9E99CD
accent
#50D85E
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14140B
muted
#82827C