#A7A12E#A7A12E
#A7A12E is a light, vivid yellow. Relative luminance 0.339; OKLCH L 69.3% C 0.132 H 106.4°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).
Color values
| HEX | #A7A12E |
|---|---|
| RGB | rgb(167, 161, 46) |
| HSL | hsl(57, 57%, 42%) |
| HSV | hsv(57, 72%, 65%) |
| CMYK | cmyk(0%, 3.6%, 72.5%, 34.5%) |
| CIE-LAB | lab(64.89, -11.36, 57.14) |
| CIE-LCH | lch(64.89, 58.26, 101.25°) |
| OKLab | oklab(69.34% -0.0371 0.1265) |
| OKLCH | oklch(69.34% 0.132 106.4) |
| XYZ | xyz(29.1755, 33.9035, 7.5914) |
| Luminance | 0.3390 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.78
Puke
#A5A502
ΔE00 3.20
Pea Soup
#929901
ΔE00 4.96
Baby Poop Green
#8F9805
ΔE00 5.53
Pea Soup Green
#94A617
ΔE00 5.97
Muddy Yellow
#BFAC05
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7A12E #2E34A7
analogous
#A7652E #A7A12E #71A72E
triadic
#A7A12E #2EA7A1 #A12EA7
tetradic
#A7A12E #2EA765 #2E34A7 #A72E71
square
#A7A12E #2EA765 #2E34A7 #A72E71
split-complementary
#A7A12E #2E71A7 #652EA7
monochromatic
#474414 #777321 #A7A12E #CCC546 #D9D476
Accessibility & contrast
On white
2.70
#A7A12E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.78
#A7A12E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7A12E
7.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7A12E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7A12E | 1.00 | 2.70 | 7.78 | 7.78 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AF9B1A
Deuteranopia (green-blind)
#B2A036
Tritanopia (blue-blind)
#B3968B
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #a7a12e; /* rgb */ color: rgb(167, 161, 46); /* oklch */ color: oklch(69.3% 0.132 106.4);
Tailwind
colors: {
custom: {
50: '#c5bc6f',
500: '#a7a12e',
950: '#000000',
},
}SCSS
$custom: #a7a12e; $custom-light: #c5bc6f; $custom-dark: #000000;
JSON
{
"hex": "#a7a12e",
"rgb": {
"r": 167,
"g": 161,
"b": 46
},
"hsl": {
"h": 57.025,
"s": 56.808,
"l": 41.765
},
"oklch": {
"l": 0.69339,
"c": 0.13182,
"h": 106.4
},
"luminance": 0.33902
}Semantic roles & 50–950 ramp
primary
#A7A12E
secondary
#7074C1
accent
#4FE048
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B