#A4B231#A4B231
#A4B231 is a light, vivid yellow. Relative luminance 0.400; OKLCH L 72.9% C 0.149 H 115.6°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).
Color values
| HEX | #A4B231 |
|---|---|
| RGB | rgb(164, 178, 49) |
| HSL | hsl(67, 57%, 45%) |
| HSV | hsv(67, 72%, 70%) |
| CMYK | cmyk(7.9%, 0%, 72.5%, 30.2%) |
| CIE-LAB | lab(69.44, -21.21, 60.37) |
| CIE-LCH | lch(69.44, 63.99, 109.36°) |
| OKLab | oklab(72.93% -0.0642 0.1339) |
| OKLCH | oklch(72.93% 0.149 115.6) |
| XYZ | xyz(31.7855, 39.9556, 8.9429) |
| Luminance | 0.3996 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 2.68
Mustard Green
#A8B504
ΔE00 3.02
Booger
#9BB53C
ΔE00 3.15
Sick Green
#9DB92C
ΔE00 3.15
Sickly Green
#94B21C
ΔE00 3.42
Barf Green
#94AC02
ΔE00 3.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A4B231 #3F31B2
analogous
#B28031 #A4B231 #63B231
triadic
#A4B231 #31A4B2 #B231A4
tetradic
#A4B231 #31B280 #3F31B2 #B23163
square
#A4B231 #31B280 #3F31B2 #B23163
split-complementary
#A4B231 #3163B2 #8031B2
monochromatic
#4C5217 #788224 #A4B231 #C1CF51 #D2DC81
Accessibility & contrast
On white
2.34
#A4B231 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.99
#A4B231 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A4B231
8.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A4B231 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A4B231 | 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)
#BFA919
Deuteranopia (green-blind)
#BEAB3C
Tritanopia (blue-blind)
#AFA899
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a4b231; /* rgb */ color: rgb(164, 178, 49); /* oklch */ color: oklch(72.9% 0.149 115.6);
Tailwind
colors: {
custom: {
50: '#c2c872',
500: '#a4b231',
950: '#000000',
},
}SCSS
$custom: #a4b231; $custom-light: #c2c872; $custom-dark: #000000;
JSON
{
"hex": "#a4b231",
"rgb": {
"r": 164,
"g": 178,
"b": 49
},
"hsl": {
"h": 66.512,
"s": 56.828,
"l": 44.51
},
"oklch": {
"l": 0.72926,
"c": 0.14851,
"h": 115.6
},
"luminance": 0.39955
}Semantic roles & 50–950 ramp
primary
#A4B231
secondary
#8279C5
accent
#48E058
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B