#A7A51E#A7A51E
#A7A51E is a light, vivid yellow. Relative luminance 0.352; OKLCH L 70.1% C 0.144 H 108.7°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).
Color values
| HEX | #A7A51E |
|---|---|
| RGB | rgb(167, 165, 30) |
| HSL | hsl(59, 70%, 39%) |
| HSV | hsv(59, 82%, 65%) |
| CMYK | cmyk(0%, 1.2%, 82%, 34.5%) |
| CIE-LAB | lab(65.92, -14.09, 63.21) |
| CIE-LCH | lch(65.92, 64.76, 102.56°) |
| OKLab | oklab(70.14% -0.0461 0.1364) |
| OKLCH | oklch(70.14% 0.144 108.7) |
| XYZ | xyz(29.6270, 35.2205, 6.4656) |
| Luminance | 0.3522 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.17
Puke
#A5A502
ΔE00 1.26
Pea Soup
#929901
ΔE00 4.84
Pea Soup Green
#94A617
ΔE00 4.92
Puke Green
#9AAE07
ΔE00 5.31
Mustard Green
#A8B504
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7A51E #1E20A7
analogous
#A7601E #A7A51E #64A71E
triadic
#A7A51E #1EA7A5 #A51EA7
tetradic
#A7A51E #1EA760 #1E20A7 #A71E64
square
#A7A51E #1EA760 #1E20A7 #A71E64
split-complementary
#A7A51E #1E64A7 #601EA7
monochromatic
#3F3E0B #737215 #A7A51E #D9D62A #E2E05D
Accessibility & contrast
On white
2.61
#A7A51E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.04
#A7A51E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7A51E
8.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7A51E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7A51E | 1.00 | 2.61 | 8.04 | 8.04 |
| #FFFFFF | 2.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#B5A22B
Tritanopia (blue-blind)
#B49A8D
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #a7a51e; /* rgb */ color: rgb(167, 165, 30); /* oklch */ color: oklch(70.1% 0.144 108.7);
Tailwind
colors: {
custom: {
50: '#c5bf68',
500: '#a7a51e',
950: '#000000',
},
}SCSS
$custom: #a7a51e; $custom-light: #c5bf68; $custom-dark: #000000;
JSON
{
"hex": "#a7a51e",
"rgb": {
"r": 167,
"g": 165,
"b": 30
},
"hsl": {
"h": 59.124,
"s": 69.543,
"l": 38.627
},
"oklch": {
"l": 0.70138,
"c": 0.14402,
"h": 108.7
},
"luminance": 0.35219
}Semantic roles & 50–950 ramp
primary
#A7A51E
secondary
#5B5CC6
accent
#3EEC3B
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#131207
muted
#82817A