#A7A42E#A7A42E
#A7A42E is a light, vivid yellow. Relative luminance 0.350; OKLCH L 70.0% C 0.135 H 108.0°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).
Color values
| HEX | #A7A42E |
|---|---|
| RGB | rgb(167, 164, 46) |
| HSL | hsl(59, 57%, 42%) |
| HSV | hsv(59, 72%, 65%) |
| CMYK | cmyk(0%, 1.8%, 72.5%, 34.5%) |
| CIE-LAB | lab(65.72, -12.93, 57.95) |
| CIE-LCH | lch(65.72, 59.37, 102.58°) |
| OKLab | oklab(70.01% -0.0415 0.1282) |
| OKLCH | oklch(70.01% 0.135 108) |
| XYZ | xyz(29.7061, 34.9646, 7.7683) |
| Luminance | 0.3496 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.11
Puke
#A5A502
ΔE00 2.65
Pea Soup
#929901
ΔE00 4.98
Pea Soup Green
#94A617
ΔE00 5.16
Baby Poop Green
#8F9805
ΔE00 5.54
Puke Green
#9AAE07
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7A42E #2E31A7
analogous
#A7672E #A7A42E #6EA72E
triadic
#A7A42E #2EA7A4 #A42EA7
tetradic
#A7A42E #2EA767 #2E31A7 #A72E6E
square
#A7A42E #2EA767 #2E31A7 #A72E6E
split-complementary
#A7A42E #2E6EA7 #672EA7
monochromatic
#474614 #777521 #A7A42E #CCC946 #D9D776
Accessibility & contrast
On white
2.63
#A7A42E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.99
#A7A42E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7A42E
7.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7A42E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7A42E | 1.00 | 2.63 | 7.99 | 7.99 |
| #FFFFFF | 2.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29D18
Deuteranopia (green-blind)
#B4A237
Tritanopia (blue-blind)
#B3998D
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #a7a42e; /* rgb */ color: rgb(167, 164, 46); /* oklch */ color: oklch(70.0% 0.135 108.0);
Tailwind
colors: {
custom: {
50: '#c5be6f',
500: '#a7a42e',
950: '#000000',
},
}SCSS
$custom: #a7a42e; $custom-light: #c5be6f; $custom-dark: #000000;
JSON
{
"hex": "#a7a42e",
"rgb": {
"r": 167,
"g": 164,
"b": 46
},
"hsl": {
"h": 58.512,
"s": 56.808,
"l": 41.765
},
"oklch": {
"l": 0.70005,
"c": 0.13474,
"h": 108
},
"luminance": 0.34964
}Semantic roles & 50–950 ramp
primary
#A7A42E
secondary
#7072C1
accent
#4CE048
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B