#A4A71F#A4A71F
#A4A71F is a light, vivid yellow. Relative luminance 0.356; OKLCH L 70.3% C 0.146 H 111.0°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).
Color values
| HEX | #A4A71F |
|---|---|
| RGB | rgb(164, 167, 31) |
| HSL | hsl(61, 69%, 39%) |
| HSV | hsv(61, 81%, 65%) |
| CMYK | cmyk(1.8%, 0%, 81.4%, 34.5%) |
| CIE-LAB | lab(66.24, -16.41, 63.12) |
| CIE-LCH | lch(66.24, 65.22, 104.57°) |
| OKLab | oklab(70.33% -0.0523 0.1365) |
| OKLCH | oklch(70.33% 0.146 111) |
| XYZ | xyz(29.3770, 35.6297, 6.6258) |
| Luminance | 0.3563 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.00
Puke
#A5A502
ΔE00 1.64
Pea Soup Green
#94A617
ΔE00 3.74
Puke Green
#9AAE07
ΔE00 4.02
Mustard Green
#A8B504
ΔE00 4.42
Barf Green
#94AC02
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A4A71F #221FA7
analogous
#A7661F #A4A71F #60A71F
triadic
#A4A71F #1FA4A7 #A71FA4
tetradic
#A4A71F #1FA766 #221FA7 #A71F60
square
#A4A71F #1FA766 #221FA7 #A71F60
split-complementary
#A4A71F #1F60A7 #661FA7
monochromatic
#3F400C #717315 #A4A71F #D4D82B #DEE15F
Accessibility & contrast
On white
2.58
#A4A71F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.13
#A4A71F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A4A71F
8.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A4A71F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A4A71F | 1.00 | 2.58 | 8.13 | 8.13 |
| #FFFFFF | 2.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B59F00
Deuteranopia (green-blind)
#B6A32C
Tritanopia (blue-blind)
#B09C8F
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a4a71f; /* rgb */ color: rgb(164, 167, 31); /* oklch */ color: oklch(70.3% 0.146 111.0);
Tailwind
colors: {
custom: {
50: '#c3c069',
500: '#a4a71f',
950: '#000000',
},
}SCSS
$custom: #a4a71f; $custom-light: #c3c069; $custom-dark: #000000;
JSON
{
"hex": "#a4a71f",
"rgb": {
"r": 164,
"g": 167,
"b": 31
},
"hsl": {
"h": 61.324,
"s": 68.687,
"l": 38.824
},
"oklch": {
"l": 0.70331,
"c": 0.14623,
"h": 111
},
"luminance": 0.35629
}Semantic roles & 50–950 ramp
primary
#A4A71F
secondary
#5E5CC6
accent
#3CEC40
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A