#A8A12B#A8A12B
#A8A12B is a light, vivid yellow. Relative luminance 0.340; OKLCH L 69.4% C 0.134 H 105.9°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A12B |
|---|---|
| RGB | rgb(168, 161, 43) |
| HSL | hsl(57, 59%, 41%) |
| HSV | hsv(57, 74%, 66%) |
| CMYK | cmyk(0%, 4.2%, 74.4%, 34.1%) |
| CIE-LAB | lab(64.95, -11.06, 58.33) |
| CIE-LCH | lch(64.95, 59.36, 100.74°) |
| OKLab | oklab(69.41% -0.0366 0.1284) |
| OKLCH | oklch(69.41% 0.134 105.9) |
| XYZ | xyz(29.3306, 33.9901, 7.3008) |
| Luminance | 0.3399 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.78
Puke
#A5A502
ΔE00 3.05
Pea Soup
#929901
ΔE00 5.09
Baby Poop Green
#8F9805
ΔE00 5.69
Muddy Yellow
#BFAC05
ΔE00 6.00
Pea Soup Green
#94A617
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A12B #2B32A8
analogous
#A8632B #A8A12B #71A82B
triadic
#A8A12B #2BA8A1 #A12BA8
tetradic
#A8A12B #2BA863 #2B32A8 #A82B71
square
#A8A12B #2BA863 #2B32A8 #A82B71
split-complementary
#A8A12B #2B71A8 #632BA8
monochromatic
#474412 #77721F #A8A12B #CFC742 #DBD572
Accessibility & contrast
On white
2.69
#A8A12B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.80
#A8A12B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A12B
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A12B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A12B | 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)
#AF9B13
Deuteranopia (green-blind)
#B2A034
Tritanopia (blue-blind)
#B5968A
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a8a12b; /* rgb */ color: rgb(168, 161, 43); /* oklch */ color: oklch(69.4% 0.134 105.9);
Tailwind
colors: {
custom: {
50: '#c5bc6d',
500: '#a8a12b',
950: '#000000',
},
}SCSS
$custom: #a8a12b; $custom-light: #c5bc6d; $custom-dark: #000000;
JSON
{
"hex": "#a8a12b",
"rgb": {
"r": 168,
"g": 161,
"b": 43
},
"hsl": {
"h": 56.64,
"s": 59.242,
"l": 41.373
},
"oklch": {
"l": 0.69409,
"c": 0.13351,
"h": 105.9
},
"luminance": 0.33989
}Semantic roles & 50–950 ramp
primary
#A8A12B
secondary
#6C71C2
accent
#4EE245
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B