#A8A42E#A8A42E
#A8A42E is a light, vivid yellow. Relative luminance 0.351; OKLCH L 70.1% C 0.135 H 107.5°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A42E |
|---|---|
| RGB | rgb(168, 164, 46) |
| HSL | hsl(58, 57%, 42%) |
| HSV | hsv(58, 73%, 66%) |
| CMYK | cmyk(0%, 2.4%, 72.6%, 34.1%) |
| CIE-LAB | lab(65.81, -12.49, 58.06) |
| CIE-LCH | lch(65.81, 59.39, 102.14°) |
| OKLab | oklab(70.09% -0.0404 0.1284) |
| OKLCH | oklch(70.09% 0.135 107.5) |
| XYZ | xyz(29.9182, 35.0740, 7.7782) |
| Luminance | 0.3507 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.25
Puke
#A5A502
ΔE00 2.69
Pea Soup
#929901
ΔE00 5.16
Pea Soup Green
#94A617
ΔE00 5.42
Baby Poop Green
#8F9805
ΔE00 5.72
Puke Green
#9AAE07
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A42E #2E32A8
analogous
#A8672E #A8A42E #6FA82E
triadic
#A8A42E #2EA8A4 #A42EA8
tetradic
#A8A42E #2EA867 #2E32A8 #A82E6F
square
#A8A42E #2EA867 #2E32A8 #A82E6F
split-complementary
#A8A42E #2E6FA8 #672EA8
monochromatic
#484614 #787521 #A8A42E #CDC847 #DAD677
Accessibility & contrast
On white
2.62
#A8A42E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.01
#A8A42E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A42E
8.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A42E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A42E | 1.00 | 2.62 | 8.01 | 8.01 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29D18
Deuteranopia (green-blind)
#B4A237
Tritanopia (blue-blind)
#B4998D
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #a8a42e; /* rgb */ color: rgb(168, 164, 46); /* oklch */ color: oklch(70.1% 0.135 107.5);
Tailwind
colors: {
custom: {
50: '#c5be6f',
500: '#a8a42e',
950: '#000000',
},
}SCSS
$custom: #a8a42e; $custom-light: #c5be6f; $custom-dark: #000000;
JSON
{
"hex": "#a8a42e",
"rgb": {
"r": 168,
"g": 164,
"b": 46
},
"hsl": {
"h": 58.033,
"s": 57.009,
"l": 41.961
},
"oklch": {
"l": 0.70094,
"c": 0.13457,
"h": 107.5
},
"luminance": 0.35073
}Semantic roles & 50–950 ramp
primary
#A8A42E
secondary
#7073C2
accent
#4DE048
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B