#A4B331#A4B331
#A4B331 is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.2% C 0.150 H 116.0°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).
Color values
| HEX | #A4B331 |
|---|---|
| RGB | rgb(164, 179, 49) |
| HSL | hsl(67, 57%, 45%) |
| HSV | hsv(67, 73%, 70%) |
| CMYK | cmyk(8.4%, 0%, 72.6%, 29.8%) |
| CIE-LAB | lab(69.72, -21.71, 60.64) |
| CIE-LCH | lch(69.72, 64.41, 109.70°) |
| OKLab | oklab(73.15% -0.0656 0.1345) |
| OKLCH | oklch(73.15% 0.15 116) |
| XYZ | xyz(31.9851, 40.3549, 9.0095) |
| Luminance | 0.4035 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 2.72
Sick Green
#9DB92C
ΔE00 2.86
Booger
#9BB53C
ΔE00 2.97
Mustard Green
#A8B504
ΔE00 2.98
Sickly Green
#94B21C
ΔE00 3.28
Booger Green
#96B403
ΔE00 3.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A4B331 #4031B3
analogous
#B38131 #A4B331 #63B331
triadic
#A4B331 #31A4B3 #B331A4
tetradic
#A4B331 #31B381 #4031B3 #B33163
square
#A4B331 #31B381 #4031B3 #B33163
split-complementary
#A4B331 #3163B3 #8131B3
monochromatic
#4C5317 #788324 #A4B331 #C1D052 #D2DD82
Accessibility & contrast
On white
2.32
#A4B331 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.07
#A4B331 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A4B331
9.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A4B331 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A4B331 | 1.00 | 2.32 | 9.07 | 9.07 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AA18
Deuteranopia (green-blind)
#BEAB3C
Tritanopia (blue-blind)
#AFA99A
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a4b331; /* rgb */ color: rgb(164, 179, 49); /* oklch */ color: oklch(73.2% 0.150 116.0);
Tailwind
colors: {
custom: {
50: '#c2c972',
500: '#a4b331',
950: '#000000',
},
}SCSS
$custom: #a4b331; $custom-light: #c2c972; $custom-dark: #000000;
JSON
{
"hex": "#a4b331",
"rgb": {
"r": 164,
"g": 179,
"b": 49
},
"hsl": {
"h": 66.923,
"s": 57.018,
"l": 44.706
},
"oklch": {
"l": 0.73154,
"c": 0.14963,
"h": 116
},
"luminance": 0.40354
}Semantic roles & 50–950 ramp
primary
#A4B331
secondary
#837AC6
accent
#48E059
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B