#A7A822#A7A822
#A7A822 is a light, vivid yellow. Relative luminance 0.363; OKLCH L 70.8% C 0.145 H 110.0°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).
Color values
| HEX | #A7A822 |
|---|---|
| RGB | rgb(167, 168, 34) |
| HSL | hsl(60, 66%, 40%) |
| HSV | hsv(60, 80%, 66%) |
| CMYK | cmyk(0.6%, 0%, 79.8%, 34.1%) |
| CIE-LAB | lab(66.78, -15.50, 62.85) |
| CIE-LCH | lch(66.78, 64.73, 103.85°) |
| OKLab | oklab(70.83% -0.0498 0.1364) |
| OKLCH | oklch(70.83% 0.145 110) |
| XYZ | xyz(30.2289, 36.3372, 6.9345) |
| Luminance | 0.3634 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.37
Puke
#A5A502
ΔE00 1.65
Pea Soup Green
#94A617
ΔE00 4.34
Mustard Green
#A8B504
ΔE00 4.40
Puke Green
#9AAE07
ΔE00 4.42
Barf Green
#94AC02
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7A822 #2322A8
analogous
#A86622 #A7A822 #64A822
triadic
#A7A822 #22A7A8 #A822A7
tetradic
#A7A822 #22A866 #2322A8 #A82264
square
#A7A822 #22A866 #2322A8 #A82264
split-complementary
#A7A822 #2264A8 #6622A8
monochromatic
#42420D #747518 #A7A822 #D4D532 #DFE065
Accessibility & contrast
On white
2.54
#A7A822 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.27
#A7A822 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7A822
8.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7A822 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7A822 | 1.00 | 2.54 | 8.27 | 8.27 |
| #FFFFFF | 2.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A000
Deuteranopia (green-blind)
#B7A42E
Tritanopia (blue-blind)
#B39D90
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #a7a822; /* rgb */ color: rgb(167, 168, 34); /* oklch */ color: oklch(70.8% 0.145 110.0);
Tailwind
colors: {
custom: {
50: '#c5c16a',
500: '#a7a822',
950: '#000000',
},
}SCSS
$custom: #a7a822; $custom-light: #c5c16a; $custom-dark: #000000;
JSON
{
"hex": "#a7a822",
"rgb": {
"r": 167,
"g": 168,
"b": 34
},
"hsl": {
"h": 60.448,
"s": 66.337,
"l": 39.608
},
"oklch": {
"l": 0.70828,
"c": 0.14518,
"h": 110
},
"luminance": 0.36336
}Semantic roles & 50–950 ramp
primary
#A7A822
secondary
#6161C5
accent
#3FE940
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A