#A6A221#A6A221
#A6A221 is a light, vivid yellow. Relative luminance 0.341; OKLCH L 69.4% C 0.140 H 107.7°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A221 |
|---|---|
| RGB | rgb(166, 162, 33) |
| HSL | hsl(58, 67%, 39%) |
| HSV | hsv(58, 80%, 65%) |
| CMYK | cmyk(0%, 2.4%, 80.1%, 34.9%) |
| CIE-LAB | lab(65.01, -12.87, 61.55) |
| CIE-LCH | lch(65.01, 62.88, 101.81°) |
| OKLab | oklab(69.4% -0.0425 0.1334) |
| OKLCH | oklch(69.4% 0.14 107.7) |
| XYZ | xyz(28.9219, 34.0585, 6.4890) |
| Luminance | 0.3406 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.68
Puke
#A5A502
ΔE00 1.93
Pea Soup
#929901
ΔE00 4.49
Baby Poop Green
#8F9805
ΔE00 5.14
Pea Soup Green
#94A617
ΔE00 5.35
Muddy Yellow
#BFAC05
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A221 #2125A6
analogous
#A65F21 #A6A221 #68A621
triadic
#A6A221 #21A6A2 #A221A6
tetradic
#A6A221 #21A65F #2125A6 #A62168
square
#A6A221 #21A65F #2125A6 #A62168
split-complementary
#A6A221 #2168A6 #5F21A6
monochromatic
#403E0D #737017 #A6A221 #D6D12F #E0DC62
Accessibility & contrast
On white
2.69
#A6A221 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.81
#A6A221 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A221
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A221 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A221 | 1.00 | 2.69 | 7.81 | 7.81 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#B2A02D
Tritanopia (blue-blind)
#B3978B
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a6a221; /* rgb */ color: rgb(166, 162, 33); /* oklch */ color: oklch(69.4% 0.140 107.7);
Tailwind
colors: {
custom: {
50: '#c4bd69',
500: '#a6a221',
950: '#000000',
},
}SCSS
$custom: #a6a221; $custom-light: #c4bd69; $custom-dark: #000000;
JSON
{
"hex": "#a6a221",
"rgb": {
"r": 166,
"g": 162,
"b": 33
},
"hsl": {
"h": 58.195,
"s": 66.834,
"l": 39.02
},
"oklch": {
"l": 0.69395,
"c": 0.14004,
"h": 107.7
},
"luminance": 0.34057
}Semantic roles & 50–950 ramp
primary
#A6A221
secondary
#5E61C5
accent
#43EA3E
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131207
muted
#82817A