#A6AA38#A6AA38
#A6AA38 is a light, vivid yellow. Relative luminance 0.371; OKLCH L 71.3% C 0.134 H 111.3°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).
Color values
| HEX | #A6AA38 |
|---|---|
| RGB | rgb(166, 170, 56) |
| HSL | hsl(62, 50%, 44%) |
| HSV | hsv(62, 67%, 67%) |
| CMYK | cmyk(2.4%, 0%, 67.1%, 33.3%) |
| CIE-LAB | lab(67.38, -15.92, 55.73) |
| CIE-LCH | lch(67.38, 57.96, 105.95°) |
| OKLab | oklab(71.34% -0.0489 0.1253) |
| OKLCH | oklch(71.34% 0.134 111.3) |
| XYZ | xyz(30.8154, 37.1427, 9.2866) |
| Luminance | 0.3714 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 3.13
Puke
#A5A502
ΔE00 3.85
Pea Soup Green
#94A617
ΔE00 4.14
Puke Green
#9AAE07
ΔE00 4.47
Mustard Green
#A8B504
ΔE00 4.92
Barf Green
#94AC02
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6AA38 #3C38AA
analogous
#AA7538 #A6AA38 #6DAA38
triadic
#A6AA38 #38A6AA #AA38A6
tetradic
#A6AA38 #38AA75 #3C38AA #AA386D
square
#A6AA38 #38AA75 #3C38AA #AA386D
split-complementary
#A6AA38 #386DAA #7538AA
monochromatic
#4C4E1A #797C29 #A6AA38 #C4C857 #D4D785
Accessibility & contrast
On white
2.49
#A6AA38 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.43
#A6AA38 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6AA38
8.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6AA38 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6AA38 | 1.00 | 2.49 | 8.43 | 8.43 |
| #FFFFFF | 2.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A228
Deuteranopia (green-blind)
#B8A640
Tritanopia (blue-blind)
#B1A093
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #a6aa38; /* rgb */ color: rgb(166, 170, 56); /* oklch */ color: oklch(71.3% 0.134 111.3);
Tailwind
colors: {
custom: {
50: '#c3c375',
500: '#a6aa38',
950: '#000000',
},
}SCSS
$custom: #a6aa38; $custom-light: #c3c375; $custom-dark: #000000;
JSON
{
"hex": "#a6aa38",
"rgb": {
"r": 166,
"g": 170,
"b": 56
},
"hsl": {
"h": 62.105,
"s": 50.442,
"l": 44.314
},
"oklch": {
"l": 0.71335,
"c": 0.13446,
"h": 111.3
},
"luminance": 0.37142
}Semantic roles & 50–950 ramp
primary
#A6AA38
secondary
#7F7DC1
accent
#4EDA53
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131209
muted
#82817B