#A5A71E#A5A71E
#A5A71E 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 | #A5A71E |
|---|---|
| RGB | rgb(165, 167, 30) |
| HSL | hsl(61, 70%, 39%) |
| HSV | hsv(61, 82%, 65%) |
| CMYK | cmyk(1.2%, 0%, 82%, 34.5%) |
| CIE-LAB | lab(66.31, -16.00, 63.49) |
| CIE-LCH | lch(66.31, 65.47, 104.14°) |
| OKLab | oklab(70.41% -0.0513 0.1371) |
| OKLCH | oklch(70.41% 0.146 110.5) |
| XYZ | xyz(29.5712, 35.7314, 6.5672) |
| Luminance | 0.3573 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 0.96
Puke
#A5A502
ΔE00 1.44
Pea Soup Green
#94A617
ΔE00 4.01
Puke Green
#9AAE07
ΔE00 4.23
Mustard Green
#A8B504
ΔE00 4.47
Pea Soup
#929901
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A71E #201EA7
analogous
#A7641E #A5A71E #60A71E
triadic
#A5A71E #1EA5A7 #A71EA5
tetradic
#A5A71E #1EA764 #201EA7 #A71E60
square
#A5A71E #1EA764 #201EA7 #A71E60
split-complementary
#A5A71E #1E60A7 #641EA7
monochromatic
#3E3F0B #727315 #A5A71E #D6D92A #E0E25D
Accessibility & contrast
On white
2.58
#A5A71E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.15
#A5A71E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A71E
8.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A71E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A71E | 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: #a5a71e; /* rgb */ color: rgb(165, 167, 30); /* oklch */ color: oklch(70.4% 0.146 110.5);
Tailwind
colors: {
custom: {
50: '#c4c068',
500: '#a5a71e',
950: '#000000',
},
}SCSS
$custom: #a5a71e; $custom-light: #c4c068; $custom-dark: #000000;
JSON
{
"hex": "#a5a71e",
"rgb": {
"r": 165,
"g": 167,
"b": 30
},
"hsl": {
"h": 60.876,
"s": 69.543,
"l": 38.627
},
"oklch": {
"l": 0.70413,
"c": 0.14641,
"h": 110.5
},
"luminance": 0.35731
}Semantic roles & 50–950 ramp
primary
#A5A71E
secondary
#5C5BC6
accent
#3BEC3E
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A