#A7A82E#A7A82E
#A7A82E is a light, vivid yellow. Relative luminance 0.364; OKLCH L 70.9% C 0.139 H 109.9°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).
Color values
| HEX | #A7A82E |
|---|---|
| RGB | rgb(167, 168, 46) |
| HSL | hsl(60, 57%, 42%) |
| HSV | hsv(60, 73%, 66%) |
| CMYK | cmyk(0.6%, 0%, 72.6%, 34.1%) |
| CIE-LAB | lab(66.84, -15.00, 59.02) |
| CIE-LCH | lch(66.84, 60.90, 104.26°) |
| OKLab | oklab(70.9% -0.0473 0.1305) |
| OKLCH | oklch(70.9% 0.139 109.9) |
| XYZ | xyz(30.4332, 36.4189, 8.0107) |
| Luminance | 0.3642 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.99
Puke
#A5A502
ΔE00 2.58
Pea Soup Green
#94A617
ΔE00 4.34
Puke Green
#9AAE07
ΔE00 4.67
Mustard Green
#A8B504
ΔE00 4.86
Barf Green
#94AC02
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7A82E #2F2EA8
analogous
#A86C2E #A7A82E #6AA82E
triadic
#A7A82E #2EA7A8 #A82EA7
tetradic
#A7A82E #2EA86C #2F2EA8 #A82E6A
square
#A7A82E #2EA86C #2F2EA8 #A82E6A
split-complementary
#A7A82E #2E6AA8 #6C2EA8
monochromatic
#474814 #777821 #A7A82E #CBCD47 #D9DA77
Accessibility & contrast
On white
2.54
#A7A82E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.28
#A7A82E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7A82E
8.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7A82E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7A82E | 1.00 | 2.54 | 8.28 | 8.28 |
| #FFFFFF | 2.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A117
Deuteranopia (green-blind)
#B7A437
Tritanopia (blue-blind)
#B39D90
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #a7a82e; /* rgb */ color: rgb(167, 168, 46); /* oklch */ color: oklch(70.9% 0.139 109.9);
Tailwind
colors: {
custom: {
50: '#c5c170',
500: '#a7a82e',
950: '#000000',
},
}SCSS
$custom: #a7a82e; $custom-light: #c5c170; $custom-dark: #000000;
JSON
{
"hex": "#a7a82e",
"rgb": {
"r": 167,
"g": 168,
"b": 46
},
"hsl": {
"h": 60.492,
"s": 57.009,
"l": 41.961
},
"oklch": {
"l": 0.70898,
"c": 0.13877,
"h": 109.9
},
"luminance": 0.36418
}Semantic roles & 50–950 ramp
primary
#A7A82E
secondary
#7170C2
accent
#48E049
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B