#A8A62F#A8A62F
#A8A62F is a light, vivid yellow. Relative luminance 0.358; OKLCH L 70.5% C 0.136 H 108.5°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A62F |
|---|---|
| RGB | rgb(168, 166, 47) |
| HSL | hsl(59, 56%, 42%) |
| HSV | hsv(59, 72%, 66%) |
| CMYK | cmyk(0%, 1.2%, 72%, 34.1%) |
| CIE-LAB | lab(66.37, -13.48, 58.24) |
| CIE-LCH | lch(66.37, 59.78, 103.03°) |
| OKLab | oklab(70.55% -0.043 0.1289) |
| OKLCH | oklch(70.55% 0.136 108.5) |
| XYZ | xyz(30.2989, 35.8035, 8.0035) |
| Luminance | 0.3580 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.09
Puke
#A5A502
ΔE00 2.60
Pea Soup Green
#94A617
ΔE00 4.98
Pea Soup
#929901
ΔE00 5.31
Puke Green
#9AAE07
ΔE00 5.51
Mustard Green
#A8B504
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A62F #2F31A8
analogous
#A8692F #A8A62F #6EA82F
triadic
#A8A62F #2FA8A6 #A62FA8
tetradic
#A8A62F #2FA869 #2F31A8 #A82F6E
square
#A8A62F #2FA869 #2F31A8 #A82F6E
split-complementary
#A8A62F #2F6EA8 #692FA8
monochromatic
#484714 #787722 #A8A62F #CCCA48 #D9D878
Accessibility & contrast
On white
2.57
#A8A62F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.16
#A8A62F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A62F
8.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A62F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A62F | 1.00 | 2.57 | 8.16 | 8.16 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B49F1A
Deuteranopia (green-blind)
#B6A338
Tritanopia (blue-blind)
#B49B8F
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a8a62f; /* rgb */ color: rgb(168, 166, 47); /* oklch */ color: oklch(70.5% 0.136 108.5);
Tailwind
colors: {
custom: {
50: '#c5c070',
500: '#a8a62f',
950: '#000000',
},
}SCSS
$custom: #a8a62f; $custom-light: #c5c070; $custom-dark: #000000;
JSON
{
"hex": "#a8a62f",
"rgb": {
"r": 168,
"g": 166,
"b": 47
},
"hsl": {
"h": 59.008,
"s": 56.279,
"l": 42.157
},
"oklch": {
"l": 0.70545,
"c": 0.13593,
"h": 108.5
},
"luminance": 0.35803
}Semantic roles & 50–950 ramp
primary
#A8A62F
secondary
#7173C1
accent
#4BE048
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B