#A6AA27#A6AA27
#A6AA27 is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.2% C 0.145 H 111.4°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).
Color values
| HEX | #A6AA27 |
|---|---|
| RGB | rgb(166, 170, 39) |
| HSL | hsl(62, 63%, 41%) |
| HSV | hsv(62, 77%, 67%) |
| CMYK | cmyk(2.4%, 0%, 77.1%, 33.3%) |
| CIE-LAB | lab(67.28, -16.77, 61.76) |
| CIE-LCH | lch(67.28, 64.00, 105.19°) |
| OKLab | oklab(71.22% -0.0528 0.135) |
| OKLCH | oklch(71.22% 0.145 111.4) |
| XYZ | xyz(30.4679, 37.0037, 7.4565) |
| Luminance | 0.3700 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.98
Puke
#A5A502
ΔE00 2.45
Puke Green
#9AAE07
ΔE00 3.71
Pea Soup Green
#94A617
ΔE00 3.81
Mustard Green
#A8B504
ΔE00 3.86
Barf Green
#94AC02
ΔE00 4.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6AA27 #2B27AA
analogous
#AA6C27 #A6AA27 #64AA27
triadic
#A6AA27 #27A6AA #AA27A6
tetradic
#A6AA27 #27AA6C #2B27AA #AA2764
square
#A6AA27 #27AA6C #2B27AA #AA2764
split-complementary
#A6AA27 #2764AA #6C27AA
monochromatic
#454610 #75781C #A6AA27 #CED23C #DADE6E
Accessibility & contrast
On white
2.50
#A6AA27 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.40
#A6AA27 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6AA27
8.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6AA27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6AA27 | 1.00 | 2.50 | 8.40 | 8.40 |
| #FFFFFF | 2.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A202
Deuteranopia (green-blind)
#B8A532
Tritanopia (blue-blind)
#B29F92
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #a6aa27; /* rgb */ color: rgb(166, 170, 39); /* oklch */ color: oklch(71.2% 0.145 111.4);
Tailwind
colors: {
custom: {
50: '#c4c36d',
500: '#a6aa27',
950: '#000000',
},
}SCSS
$custom: #a6aa27; $custom-light: #c4c36d; $custom-dark: #000000;
JSON
{
"hex": "#a6aa27",
"rgb": {
"r": 166,
"g": 170,
"b": 39
},
"hsl": {
"h": 61.832,
"s": 62.679,
"l": 40.98
},
"oklch": {
"l": 0.71218,
"c": 0.14499,
"h": 111.4
},
"luminance": 0.37003
}Semantic roles & 50–950 ramp
primary
#A6AA27
secondary
#6B69C4
accent
#42E647
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B