#A6A02B#A6A02B
#A6A02B is a light, vivid yellow. Relative luminance 0.334; OKLCH L 69.0% C 0.133 H 106.4°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A02B |
|---|---|
| RGB | rgb(166, 160, 43) |
| HSL | hsl(57, 59%, 41%) |
| HSV | hsv(57, 74%, 65%) |
| CMYK | cmyk(0%, 3.6%, 74.1%, 34.9%) |
| CIE-LAB | lab(64.50, -11.42, 57.84) |
| CIE-LCH | lch(64.50, 58.95, 101.17°) |
| OKLab | oklab(69.01% -0.0375 0.1274) |
| OKLCH | oklch(69.01% 0.133 106.4) |
| XYZ | xyz(28.7339, 33.4241, 7.2229) |
| Luminance | 0.3342 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.72
Puke
#A5A502
ΔE00 3.13
Pea Soup
#929901
ΔE00 4.70
Baby Poop Green
#8F9805
ΔE00 5.28
Pea Soup Green
#94A617
ΔE00 5.96
Muddy Yellow
#BFAC05
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A02B #2B31A6
analogous
#A6622B #A6A02B #6EA62B
triadic
#A6A02B #2BA6A0 #A02BA6
tetradic
#A6A02B #2BA662 #2B31A6 #A62B6E
square
#A6A02B #2BA662 #2B31A6 #A62B6E
split-complementary
#A6A02B #2B6EA6 #622BA6
monochromatic
#454212 #75711E #A6A02B #CEC741 #DAD571
Accessibility & contrast
On white
2.73
#A6A02B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.68
#A6A02B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A02B
7.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A02B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A02B | 1.00 | 2.73 | 7.68 | 7.68 |
| #FFFFFF | 2.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9A14
Deuteranopia (green-blind)
#B19F34
Tritanopia (blue-blind)
#B2958A
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #a6a02b; /* rgb */ color: rgb(166, 160, 43); /* oklch */ color: oklch(69.0% 0.133 106.4);
Tailwind
colors: {
custom: {
50: '#c4bb6d',
500: '#a6a02b',
950: '#000000',
},
}SCSS
$custom: #a6a02b; $custom-light: #c4bb6d; $custom-dark: #000000;
JSON
{
"hex": "#a6a02b",
"rgb": {
"r": 166,
"g": 160,
"b": 43
},
"hsl": {
"h": 57.073,
"s": 58.852,
"l": 40.98
},
"oklch": {
"l": 0.69007,
"c": 0.13283,
"h": 106.4
},
"luminance": 0.33423
}Semantic roles & 50–950 ramp
primary
#A6A02B
secondary
#6B70C1
accent
#4DE246
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131108
muted
#82807B