#A4B151#A4B151
#A4B151 is a light, vivid yellow. Relative luminance 0.399; OKLCH L 73.0% C 0.122 H 115.9°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).
Color values
| HEX | #A4B151 |
|---|---|
| RGB | rgb(164, 177, 81) |
| HSL | hsl(68, 38%, 51%) |
| HSV | hsv(68, 54%, 69%) |
| CMYK | cmyk(7.3%, 0%, 54.2%, 30.6%) |
| CIE-LAB | lab(69.42, -18.49, 46.87) |
| CIE-LCH | lch(69.42, 50.38, 111.53°) |
| OKLab | oklab(73% -0.0533 0.1098) |
| OKLCH | oklch(73% 0.122 115.9) |
| XYZ | xyz(32.5177, 39.9313, 13.7775) |
| Luminance | 0.3993 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 3.68
Light Olive Green
#A4BE5C
ΔE00 4.21
Light Olive
#ACBF69
ΔE00 4.49
Avocado (survey)
#90B134
ΔE00 4.95
Sick Green
#9DB92C
ΔE00 5.35
Tan Green
#A9BE70
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A4B151 #5E51B1
analogous
#B18E51 #A4B151 #74B151
triadic
#A4B151 #51A4B1 #B151A4
tetradic
#A4B151 #51B18E #5E51B1 #B15174
square
#A4B151 #51B18E #5E51B1 #B15174
split-complementary
#A4B151 #5174B1 #8E51B1
monochromatic
#575E2A #7E883D #A4B151 #BAC47B #D0D7A6
Accessibility & contrast
On white
2.34
#A4B151 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.99
#A4B151 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A4B151
8.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A4B151 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A4B151 | 1.00 | 2.34 | 8.99 | 8.99 |
| #FFFFFF | 2.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA948
Deuteranopia (green-blind)
#BBAA57
Tritanopia (blue-blind)
#ADA89C
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #a4b151; /* rgb */ color: rgb(164, 177, 81); /* oklch */ color: oklch(73.0% 0.122 115.9);
Tailwind
colors: {
custom: {
50: '#c1c885',
500: '#a4b151',
950: '#000000',
},
}SCSS
$custom: #a4b151; $custom-light: #c1c885; $custom-dark: #000000;
JSON
{
"hex": "#a4b151",
"rgb": {
"r": 164,
"g": 177,
"b": 81
},
"hsl": {
"h": 68.125,
"s": 38.095,
"l": 50.588
},
"oklch": {
"l": 0.72998,
"c": 0.12207,
"h": 115.9
},
"luminance": 0.39931
}Semantic roles & 50–950 ramp
primary
#A4B151
secondary
#9F9AC4
accent
#5ACE6A
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130B
muted
#82827C