#B4C74A#B4C74A
#B4C74A is a light, vivid yellow. Relative luminance 0.510; OKLCH L 79.1% C 0.150 H 117.3°. Best body text is #000000 at 11.21:1 contrast (WCAG AA passes).
Color values
| HEX | #B4C74A |
|---|---|
| RGB | rgb(180, 199, 74) |
| HSL | hsl(69, 53%, 54%) |
| HSV | hsv(69, 63%, 78%) |
| CMYK | cmyk(9.5%, 0%, 62.8%, 22%) |
| CIE-LAB | lab(76.71, -23.40, 58.42) |
| CIE-LCH | lch(76.71, 62.93, 111.83°) |
| OKLab | oklab(79.11% -0.0688 0.1333) |
| OKLCH | oklch(79.11% 0.15 117.3) |
| XYZ | xyz(40.4826, 51.0450, 14.1973) |
| Luminance | 0.5104 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 3.87
Gross Green
#A0BF16
ΔE00 4.48
Sick Green
#9DB92C
ΔE00 4.71
Bile
#B5C306
ΔE00 4.84
Green Yellow
#B5CE08
ΔE00 4.85
Baby Puke Green
#B6C406
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4C74A #5D4AC7
analogous
#C79B4A #B4C74A #75C74A
triadic
#B4C74A #4AB4C7 #C74AB4
tetradic
#B4C74A #4AC79B #5D4AC7 #C74A75
square
#B4C74A #4AC79B #5D4AC7 #C74A75
split-complementary
#B4C74A #4A75C7 #9B4AC7
monochromatic
#677324 #91A232 #B4C74A #C7D579 #DBE4A7
Accessibility & contrast
On white
1.87
#B4C74A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.21
#B4C74A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4C74A
11.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4C74A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4C74A | 1.00 | 1.87 | 11.21 | 11.21 |
| #FFFFFF | 1.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D4BD3A
Deuteranopia (green-blind)
#D2BE53
Tritanopia (blue-blind)
#BEBDAD
Achromatopsia (no color)
#BDBDBD
Design tokens & code
CSS
--color: #b4c74a; /* rgb */ color: rgb(180, 199, 74); /* oklch */ color: oklch(79.1% 0.150 117.3);
Tailwind
colors: {
custom: {
50: '#cdd882',
500: '#b4c74a',
950: '#000000',
},
}SCSS
$custom: #b4c74a; $custom-light: #cdd882; $custom-dark: #000000;
JSON
{
"hex": "#b4c74a",
"rgb": {
"r": 180,
"g": 199,
"b": 74
},
"hsl": {
"h": 69.12,
"s": 52.743,
"l": 53.529
},
"oklch": {
"l": 0.79114,
"c": 0.14999,
"h": 117.3
},
"luminance": 0.51045
}Semantic roles & 50–950 ramp
primary
#B4C74A
secondary
#43397C
accent
#4CDC62
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E