#A8A12A#A8A12A
#A8A12A is a light, vivid yellow. Relative luminance 0.340; OKLCH L 69.4% C 0.134 H 106.0°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A12A |
|---|---|
| RGB | rgb(168, 161, 42) |
| HSL | hsl(57, 60%, 41%) |
| HSV | hsv(57, 75%, 66%) |
| CMYK | cmyk(0%, 4.2%, 75%, 34.1%) |
| CIE-LAB | lab(64.95, -11.11, 58.67) |
| CIE-LCH | lch(64.95, 59.71, 100.72°) |
| OKLab | oklab(69.4% -0.0369 0.1289) |
| OKLCH | oklch(69.4% 0.134 106) |
| XYZ | xyz(29.3124, 33.9828, 7.2053) |
| Luminance | 0.3398 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.73
Puke
#A5A502
ΔE00 2.98
Pea Soup
#929901
ΔE00 5.07
Baby Poop Green
#8F9805
ΔE00 5.68
Muddy Yellow
#BFAC05
ΔE00 5.95
Pea Soup Green
#94A617
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A12A #2A31A8
analogous
#A8622A #A8A12A #70A82A
triadic
#A8A12A #2AA8A1 #A12AA8
tetradic
#A8A12A #2AA862 #2A31A8 #A82A70
square
#A8A12A #2AA862 #2A31A8 #A82A70
split-complementary
#A8A12A #2A70A8 #622AA8
monochromatic
#464312 #77721E #A8A12A #CFC740 #DBD671
Accessibility & contrast
On white
2.69
#A8A12A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.80
#A8A12A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A12A
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A12A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A12A | 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)
#AF9B11
Deuteranopia (green-blind)
#B2A033
Tritanopia (blue-blind)
#B5968A
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a8a12a; /* rgb */ color: rgb(168, 161, 42); /* oklch */ color: oklch(69.4% 0.134 106.0);
Tailwind
colors: {
custom: {
50: '#c5bc6d',
500: '#a8a12a',
950: '#000000',
},
}SCSS
$custom: #a8a12a; $custom-light: #c5bc6d; $custom-dark: #000000;
JSON
{
"hex": "#a8a12a",
"rgb": {
"r": 168,
"g": 161,
"b": 42
},
"hsl": {
"h": 56.667,
"s": 60,
"l": 41.176
},
"oklch": {
"l": 0.69403,
"c": 0.1341,
"h": 106
},
"luminance": 0.33982
}Semantic roles & 50–950 ramp
primary
#A8A12A
secondary
#6B70C3
accent
#4DE345
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A