#A8A12E#A8A12E
#A8A12E is a light, vivid yellow. Relative luminance 0.340; OKLCH L 69.4% C 0.132 H 105.8°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A12E |
|---|---|
| RGB | rgb(168, 161, 46) |
| HSL | hsl(57, 57%, 42%) |
| HSV | hsv(57, 73%, 66%) |
| CMYK | cmyk(0%, 4.2%, 72.6%, 34.1%) |
| CIE-LAB | lab(64.97, -10.92, 57.26) |
| CIE-LCH | lch(64.97, 58.29, 100.80°) |
| OKLab | oklab(69.43% -0.0359 0.1267) |
| OKLCH | oklch(69.43% 0.132 105.8) |
| XYZ | xyz(29.3876, 34.0129, 7.6014) |
| Luminance | 0.3401 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.96
Puke
#A5A502
ΔE00 3.29
Pea Soup
#929901
ΔE00 5.18
Baby Poop Green
#8F9805
ΔE00 5.76
Muddy Yellow
#BFAC05
ΔE00 6.17
Pea Soup Green
#94A617
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A12E #2E35A8
analogous
#A8642E #A8A12E #72A82E
triadic
#A8A12E #2EA8A1 #A12EA8
tetradic
#A8A12E #2EA864 #2E35A8 #A82E72
square
#A8A12E #2EA864 #2E35A8 #A82E72
split-complementary
#A8A12E #2E72A8 #642EA8
monochromatic
#484514 #787321 #A8A12E #CDC547 #DAD477
Accessibility & contrast
On white
2.69
#A8A12E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.80
#A8A12E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A12E
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A12E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A12E | 1.00 | 2.69 | 7.80 | 7.80 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AF9B1A
Deuteranopia (green-blind)
#B2A036
Tritanopia (blue-blind)
#B5968B
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a8a12e; /* rgb */ color: rgb(168, 161, 46); /* oklch */ color: oklch(69.4% 0.132 105.8);
Tailwind
colors: {
custom: {
50: '#c5bc6f',
500: '#a8a12e',
950: '#000000',
},
}SCSS
$custom: #a8a12e; $custom-light: #c5bc6f; $custom-dark: #000000;
JSON
{
"hex": "#a8a12e",
"rgb": {
"r": 168,
"g": 161,
"b": 46
},
"hsl": {
"h": 56.557,
"s": 57.009,
"l": 41.961
},
"oklch": {
"l": 0.6943,
"c": 0.13168,
"h": 105.8
},
"luminance": 0.34012
}Semantic roles & 50–950 ramp
primary
#A8A12E
secondary
#7075C2
accent
#50E048
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B