#A6A52A#A6A52A
#A6A52A is a light, vivid yellow. Relative luminance 0.352; OKLCH L 70.1% C 0.138 H 109.0°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A52A |
|---|---|
| RGB | rgb(166, 165, 42) |
| HSL | hsl(60, 60%, 41%) |
| HSV | hsv(60, 75%, 65%) |
| CMYK | cmyk(0%, 0.6%, 74.7%, 34.9%) |
| CIE-LAB | lab(65.89, -14.07, 59.49) |
| CIE-LCH | lch(65.89, 61.14, 103.31°) |
| OKLab | oklab(70.11% -0.0451 0.1308) |
| OKLCH | oklch(70.11% 0.138 109) |
| XYZ | xyz(29.6000, 35.1853, 7.4223) |
| Luminance | 0.3518 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.56
Puke
#A5A502
ΔE00 2.20
Pea Soup Green
#94A617
ΔE00 4.62
Pea Soup
#929901
ΔE00 4.80
Puke Green
#9AAE07
ΔE00 5.25
Baby Poop Green
#8F9805
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A52A #2A2BA6
analogous
#A6672A #A6A52A #69A62A
triadic
#A6A52A #2AA6A5 #A52AA6
tetradic
#A6A52A #2AA667 #2A2BA6 #A62A69
square
#A6A52A #2AA667 #2A2BA6 #A62A69
split-complementary
#A6A52A #2A69A6 #672AA6
monochromatic
#444411 #75741E #A6A52A #CECD3F #DBDA70
Accessibility & contrast
On white
2.61
#A6A52A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.04
#A6A52A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A52A
8.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A52A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A52A | 1.00 | 2.61 | 8.04 | 8.04 |
| #FFFFFF | 2.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B39E0F
Deuteranopia (green-blind)
#B4A234
Tritanopia (blue-blind)
#B29A8E
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #a6a52a; /* rgb */ color: rgb(166, 165, 42); /* oklch */ color: oklch(70.1% 0.138 109.0);
Tailwind
colors: {
custom: {
50: '#c4bf6d',
500: '#a6a52a',
950: '#000000',
},
}SCSS
$custom: #a6a52a; $custom-light: #c4bf6d; $custom-dark: #000000;
JSON
{
"hex": "#a6a52a",
"rgb": {
"r": 166,
"g": 165,
"b": 42
},
"hsl": {
"h": 59.516,
"s": 59.615,
"l": 40.784
},
"oklch": {
"l": 0.70114,
"c": 0.1383,
"h": 109
},
"luminance": 0.35184
}Semantic roles & 50–950 ramp
primary
#A6A52A
secondary
#6A6BC2
accent
#46E345
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B