#A6A022#A6A022
#A6A022 is a light, vivid yellow. Relative luminance 0.334; OKLCH L 69.0% C 0.138 H 106.6°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A022 |
|---|---|
| RGB | rgb(166, 160, 34) |
| HSL | hsl(57, 66%, 39%) |
| HSV | hsv(57, 80%, 65%) |
| CMYK | cmyk(0%, 3.6%, 79.5%, 34.9%) |
| CIE-LAB | lab(64.46, -11.79, 60.76) |
| CIE-LCH | lch(64.46, 61.90, 100.98°) |
| OKLab | oklab(68.96% -0.0394 0.1319) |
| OKLCH | oklch(68.96% 0.138 106.6) |
| XYZ | xyz(28.5866, 33.3652, 6.4474) |
| Luminance | 0.3336 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.34
Puke
#A5A502
ΔE00 2.54
Pea Soup
#929901
ΔE00 4.52
Baby Poop Green
#8F9805
ΔE00 5.17
Pea Soup Green
#94A617
ΔE00 5.92
Muddy Yellow
#BFAC05
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A022 #2228A6
analogous
#A65E22 #A6A022 #6AA622
triadic
#A6A022 #22A6A0 #A022A6
tetradic
#A6A022 #22A65E #2228A6 #A6226A
square
#A6A022 #22A65E #2228A6 #A6226A
split-complementary
#A6A022 #226AA6 #5E22A6
monochromatic
#403E0D #736F18 #A6A022 #D5CD30 #DFD963
Accessibility & contrast
On white
2.74
#A6A022 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.67
#A6A022 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A022
7.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A022 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A022 | 1.00 | 2.74 | 7.67 | 7.67 |
| #FFFFFF | 2.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9A00
Deuteranopia (green-blind)
#B19E2D
Tritanopia (blue-blind)
#B39589
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #a6a022; /* rgb */ color: rgb(166, 160, 34); /* oklch */ color: oklch(69.0% 0.138 106.6);
Tailwind
colors: {
custom: {
50: '#c4bb69',
500: '#a6a022',
950: '#000000',
},
}SCSS
$custom: #a6a022; $custom-light: #c4bb69; $custom-dark: #000000;
JSON
{
"hex": "#a6a022",
"rgb": {
"r": 166,
"g": 160,
"b": 34
},
"hsl": {
"h": 57.273,
"s": 66,
"l": 39.216
},
"oklch": {
"l": 0.68955,
"c": 0.13769,
"h": 106.6
},
"luminance": 0.33364
}Semantic roles & 50–950 ramp
primary
#A6A022
secondary
#5F64C4
accent
#47E93F
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A