#A7A42F#A7A42F
#A7A42F is a light, vivid yellow. Relative luminance 0.350; OKLCH L 70.0% C 0.134 H 107.9°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).
Color values
| HEX | #A7A42F |
|---|---|
| RGB | rgb(167, 164, 47) |
| HSL | hsl(59, 56%, 42%) |
| HSV | hsv(59, 72%, 65%) |
| CMYK | cmyk(0%, 1.8%, 71.9%, 34.5%) |
| CIE-LAB | lab(65.73, -12.88, 57.59) |
| CIE-LCH | lch(65.73, 59.01, 102.61°) |
| OKLab | oklab(70.01% -0.0413 0.1276) |
| OKLCH | oklch(70.01% 0.134 107.9) |
| XYZ | xyz(29.7260, 34.9726, 7.8733) |
| Luminance | 0.3497 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.19
Puke
#A5A502
ΔE00 2.75
Pea Soup
#929901
ΔE00 5.02
Pea Soup Green
#94A617
ΔE00 5.18
Baby Poop Green
#8F9805
ΔE00 5.56
Puke Green
#9AAE07
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7A42F #2F32A7
analogous
#A7682F #A7A42F #6EA72F
triadic
#A7A42F #2FA7A4 #A42FA7
tetradic
#A7A42F #2FA768 #2F32A7 #A72F6E
square
#A7A42F #2FA768 #2F32A7 #A72F6E
split-complementary
#A7A42F #2F6EA7 #682FA7
monochromatic
#474614 #777522 #A7A42F #CBC848 #D9D678
Accessibility & contrast
On white
2.63
#A7A42F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.99
#A7A42F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7A42F
7.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7A42F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7A42F | 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)
#B29D1A
Deuteranopia (green-blind)
#B4A238
Tritanopia (blue-blind)
#B3998D
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #a7a42f; /* rgb */ color: rgb(167, 164, 47); /* oklch */ color: oklch(70.0% 0.134 107.9);
Tailwind
colors: {
custom: {
50: '#c4be70',
500: '#a7a42f',
950: '#000000',
},
}SCSS
$custom: #a7a42f; $custom-light: #c4be70; $custom-dark: #000000;
JSON
{
"hex": "#a7a42f",
"rgb": {
"r": 167,
"g": 164,
"b": 47
},
"hsl": {
"h": 58.5,
"s": 56.075,
"l": 41.961
},
"oklch": {
"l": 0.70012,
"c": 0.13412,
"h": 107.9
},
"luminance": 0.34972
}Semantic roles & 50–950 ramp
primary
#A7A42F
secondary
#7173C1
accent
#4CDF48
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B