#A8A52E#A8A52E
#A8A52E is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.3% C 0.136 H 108.0°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A52E |
|---|---|
| RGB | rgb(168, 165, 46) |
| HSL | hsl(59, 57%, 42%) |
| HSV | hsv(59, 73%, 66%) |
| CMYK | cmyk(0%, 1.8%, 72.6%, 34.1%) |
| CIE-LAB | lab(66.08, -13.01, 58.33) |
| CIE-LCH | lch(66.08, 59.76, 102.57°) |
| OKLab | oklab(70.32% -0.0418 0.129) |
| OKLCH | oklch(70.32% 0.136 108) |
| XYZ | xyz(30.0979, 35.4333, 7.8381) |
| Luminance | 0.3543 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.10
Puke
#A5A502
ΔE00 2.57
Pea Soup Green
#94A617
ΔE00 5.19
Pea Soup
#929901
ΔE00 5.21
Baby Poop Green
#8F9805
ΔE00 5.76
Puke Green
#9AAE07
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A52E #2E31A8
analogous
#A8682E #A8A52E #6EA82E
triadic
#A8A52E #2EA8A5 #A52EA8
tetradic
#A8A52E #2EA868 #2E31A8 #A82E6E
square
#A8A52E #2EA868 #2E31A8 #A82E6E
split-complementary
#A8A52E #2E6EA8 #682EA8
monochromatic
#484714 #787621 #A8A52E #CDC947 #DAD777
Accessibility & contrast
On white
2.60
#A8A52E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.09
#A8A52E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A52E
8.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A52E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A52E | 1.00 | 2.60 | 8.09 | 8.09 |
| #FFFFFF | 2.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B39E18
Deuteranopia (green-blind)
#B5A337
Tritanopia (blue-blind)
#B49A8E
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a8a52e; /* rgb */ color: rgb(168, 165, 46); /* oklch */ color: oklch(70.3% 0.136 108.0);
Tailwind
colors: {
custom: {
50: '#c5bf6f',
500: '#a8a52e',
950: '#000000',
},
}SCSS
$custom: #a8a52e; $custom-light: #c5bf6f; $custom-dark: #000000;
JSON
{
"hex": "#a8a52e",
"rgb": {
"r": 168,
"g": 165,
"b": 46
},
"hsl": {
"h": 58.525,
"s": 57.009,
"l": 41.961
},
"oklch": {
"l": 0.70316,
"c": 0.13556,
"h": 108
},
"luminance": 0.35432
}Semantic roles & 50–950 ramp
primary
#A8A52E
secondary
#7072C2
accent
#4BE048
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B