#A5A71F#A5A71F
#A5A71F is a light, vivid yellow. Relative luminance 0.357; OKLCH L 70.4% C 0.146 H 110.5°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A71F |
|---|---|
| RGB | rgb(165, 167, 31) |
| HSL | hsl(61, 69%, 39%) |
| HSV | hsv(61, 81%, 65%) |
| CMYK | cmyk(1.2%, 0%, 81.4%, 34.5%) |
| CIE-LAB | lab(66.32, -15.97, 63.22) |
| CIE-LCH | lch(66.32, 65.21, 104.17°) |
| OKLab | oklab(70.42% -0.0512 0.1367) |
| OKLCH | oklch(70.42% 0.146 110.5) |
| XYZ | xyz(29.5842, 35.7366, 6.6355) |
| Luminance | 0.3574 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 0.99
Puke
#A5A502
ΔE00 1.50
Pea Soup Green
#94A617
ΔE00 4.00
Puke Green
#9AAE07
ΔE00 4.24
Mustard Green
#A8B504
ΔE00 4.49
Pea Soup
#929901
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A71F #211FA7
analogous
#A7651F #A5A71F #61A71F
triadic
#A5A71F #1FA5A7 #A71FA5
tetradic
#A5A71F #1FA765 #211FA7 #A71F61
square
#A5A71F #1FA765 #211FA7 #A71F61
split-complementary
#A5A71F #1F61A7 #651FA7
monochromatic
#3F400C #727315 #A5A71F #D5D82B #DFE15F
Accessibility & contrast
On white
2.58
#A5A71F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.15
#A5A71F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A71F
8.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A71F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A71F | 1.00 | 2.58 | 8.15 | 8.15 |
| #FFFFFF | 2.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B59F00
Deuteranopia (green-blind)
#B6A32C
Tritanopia (blue-blind)
#B19C8F
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a5a71f; /* rgb */ color: rgb(165, 167, 31); /* oklch */ color: oklch(70.4% 0.146 110.5);
Tailwind
colors: {
custom: {
50: '#c4c069',
500: '#a5a71f',
950: '#000000',
},
}SCSS
$custom: #a5a71f; $custom-light: #c4c069; $custom-dark: #000000;
JSON
{
"hex": "#a5a71f",
"rgb": {
"r": 165,
"g": 167,
"b": 31
},
"hsl": {
"h": 60.882,
"s": 68.687,
"l": 38.824
},
"oklch": {
"l": 0.70417,
"c": 0.14599,
"h": 110.5
},
"luminance": 0.35736
}Semantic roles & 50–950 ramp
primary
#A5A71F
secondary
#5E5CC6
accent
#3CEC3F
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A