#A7AA27#A7AA27
#A7AA27 is a light, vivid yellow. Relative luminance 0.371; OKLCH L 71.3% C 0.145 H 110.9°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).
Color values
| HEX | #A7AA27 |
|---|---|
| RGB | rgb(167, 170, 39) |
| HSL | hsl(61, 63%, 41%) |
| HSV | hsv(61, 77%, 67%) |
| CMYK | cmyk(1.8%, 0%, 77.1%, 33.3%) |
| CIE-LAB | lab(67.36, -16.34, 61.86) |
| CIE-LCH | lch(67.36, 63.99, 104.79°) |
| OKLab | oklab(71.3% -0.0517 0.1352) |
| OKLCH | oklch(71.3% 0.145 110.9) |
| XYZ | xyz(30.6784, 37.1123, 7.4664) |
| Luminance | 0.3711 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.95
Puke
#A5A502
ΔE00 2.33
Mustard Green
#A8B504
ΔE00 3.92
Puke Green
#9AAE07
ΔE00 3.93
Pea Soup Green
#94A617
ΔE00 4.06
Barf Green
#94AC02
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7AA27 #2A27AA
analogous
#AA6B27 #A7AA27 #65AA27
triadic
#A7AA27 #27A7AA #AA27A7
tetradic
#A7AA27 #27AA6B #2A27AA #AA2765
square
#A7AA27 #27AA6B #2A27AA #AA2765
split-complementary
#A7AA27 #2765AA #6B27AA
monochromatic
#454610 #76781C #A7AA27 #CFD23C #DBDE6E
Accessibility & contrast
On white
2.49
#A7AA27 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.42
#A7AA27 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7AA27
8.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7AA27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7AA27 | 1.00 | 2.49 | 8.42 | 8.42 |
| #FFFFFF | 2.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A202
Deuteranopia (green-blind)
#B9A632
Tritanopia (blue-blind)
#B39F92
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #a7aa27; /* rgb */ color: rgb(167, 170, 39); /* oklch */ color: oklch(71.3% 0.145 110.9);
Tailwind
colors: {
custom: {
50: '#c5c36d',
500: '#a7aa27',
950: '#000000',
},
}SCSS
$custom: #a7aa27; $custom-light: #c5c36d; $custom-dark: #000000;
JSON
{
"hex": "#a7aa27",
"rgb": {
"r": 167,
"g": 170,
"b": 39
},
"hsl": {
"h": 61.374,
"s": 62.679,
"l": 40.98
},
"oklch": {
"l": 0.71303,
"c": 0.14474,
"h": 110.9
},
"luminance": 0.37111
}Semantic roles & 50–950 ramp
primary
#A7AA27
secondary
#6B69C4
accent
#42E646
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B