#A4B31E#A4B31E
#A4B31E is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.1% C 0.159 H 115.8°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).
Color values
| HEX | #A4B31E |
|---|---|
| RGB | rgb(164, 179, 30) |
| HSL | hsl(66, 71%, 41%) |
| HSV | hsv(66, 83%, 70%) |
| CMYK | cmyk(8.4%, 0%, 83.2%, 29.8%) |
| CIE-LAB | lab(69.63, -22.48, 66.30) |
| CIE-LCH | lch(69.63, 70.01, 108.73°) |
| OKLab | oklab(73.05% -0.0692 0.1432) |
| OKLCH | oklch(73.05% 0.159 115.8) |
| XYZ | xyz(31.6652, 40.2270, 7.3245) |
| Luminance | 0.4023 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.58
Puke Green
#9AAE07
ΔE00 2.03
Snot
#ACBB0D
ΔE00 2.58
Booger Green
#96B403
ΔE00 3.04
Barf Green
#94AC02
ΔE00 3.13
Sick Green
#9DB92C
ΔE00 3.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A4B31E #2D1EB3
analogous
#B3771E #A4B31E #59B31E
triadic
#A4B31E #1EA4B3 #B31EA4
tetradic
#A4B31E #1EB377 #2D1EB3 #B31E59
square
#A4B31E #1EB377 #2D1EB3 #B31E59
split-complementary
#A4B31E #1E59B3 #771EB3
monochromatic
#444A0C #747F15 #A4B31E #CBDD32 #D9E566
Accessibility & contrast
On white
2.32
#A4B31E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.05
#A4B31E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A4B31E
9.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A4B31E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A4B31E | 1.00 | 2.32 | 9.05 | 9.05 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#BFAB2E
Tritanopia (blue-blind)
#AFA899
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a4b31e; /* rgb */ color: rgb(164, 179, 30); /* oklch */ color: oklch(73.1% 0.159 115.8);
Tailwind
colors: {
custom: {
50: '#c3c96a',
500: '#a4b31e',
950: '#000000',
},
}SCSS
$custom: #a4b31e; $custom-light: #c3c96a; $custom-dark: #000000;
JSON
{
"hex": "#a4b31e",
"rgb": {
"r": 164,
"g": 179,
"b": 30
},
"hsl": {
"h": 66.04,
"s": 71.292,
"l": 40.98
},
"oklch": {
"l": 0.73052,
"c": 0.15906,
"h": 115.8
},
"luminance": 0.40226
}Semantic roles & 50–950 ramp
primary
#A4B31E
secondary
#6D62CB
accent
#3AEE4C
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A