#A7A82A#A7A82A
#A7A82A is a light, vivid yellow. Relative luminance 0.364; OKLCH L 70.9% C 0.141 H 110.0°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).
Color values
| HEX | #A7A82A |
|---|---|
| RGB | rgb(167, 168, 42) |
| HSL | hsl(60, 60%, 41%) |
| HSV | hsv(60, 75%, 66%) |
| CMYK | cmyk(0.6%, 0%, 75%, 34.1%) |
| CIE-LAB | lab(66.82, -15.18, 60.39) |
| CIE-LCH | lch(66.82, 62.27, 104.11°) |
| OKLab | oklab(70.87% -0.0482 0.1326) |
| OKLCH | oklch(70.87% 0.141 110) |
| XYZ | xyz(30.3580, 36.3888, 7.6146) |
| Luminance | 0.3639 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.72
Puke
#A5A502
ΔE00 2.24
Pea Soup Green
#94A617
ΔE00 4.31
Puke Green
#9AAE07
ΔE00 4.55
Mustard Green
#A8B504
ΔE00 4.67
Barf Green
#94AC02
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7A82A #2B2AA8
analogous
#A86A2A #A7A82A #68A82A
triadic
#A7A82A #2AA7A8 #A82AA7
tetradic
#A7A82A #2AA86A #2B2AA8 #A82A68
square
#A7A82A #2AA86A #2B2AA8 #A82A68
split-complementary
#A7A82A #2A68A8 #6A2AA8
monochromatic
#464612 #76771E #A7A82A #CECF40 #DBDB71
Accessibility & contrast
On white
2.54
#A7A82A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.28
#A7A82A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7A82A
8.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7A82A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7A82A | 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)
#B6A10D
Deuteranopia (green-blind)
#B7A434
Tritanopia (blue-blind)
#B39D90
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #a7a82a; /* rgb */ color: rgb(167, 168, 42); /* oklch */ color: oklch(70.9% 0.141 110.0);
Tailwind
colors: {
custom: {
50: '#c5c16e',
500: '#a7a82a',
950: '#000000',
},
}SCSS
$custom: #a7a82a; $custom-light: #c5c16e; $custom-dark: #000000;
JSON
{
"hex": "#a7a82a",
"rgb": {
"r": 167,
"g": 168,
"b": 42
},
"hsl": {
"h": 60.476,
"s": 60,
"l": 41.176
},
"oklch": {
"l": 0.70872,
"c": 0.1411,
"h": 110
},
"luminance": 0.36388
}Semantic roles & 50–950 ramp
primary
#A7A82A
secondary
#6C6BC3
accent
#45E346
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B