#A6A62A#A6A62A
#A6A62A is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.3% C 0.139 H 109.5°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A62A |
|---|---|
| RGB | rgb(166, 166, 42) |
| HSL | hsl(60, 60%, 41%) |
| HSV | hsv(60, 75%, 65%) |
| CMYK | cmyk(0%, 0%, 74.7%, 34.9%) |
| CIE-LAB | lab(66.17, -14.59, 59.76) |
| CIE-LCH | lch(66.17, 61.51, 103.72°) |
| OKLab | oklab(70.34% -0.0465 0.1313) |
| OKLCH | oklch(70.34% 0.139 109.5) |
| XYZ | xyz(29.7811, 35.5475, 7.4826) |
| Luminance | 0.3555 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.53
Puke
#A5A502
ΔE00 2.18
Pea Soup Green
#94A617
ΔE00 4.41
Pea Soup
#929901
ΔE00 4.91
Puke Green
#9AAE07
ΔE00 4.94
Mustard Green
#A8B504
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A62A #2A2AA6
analogous
#A6682A #A6A62A #68A62A
triadic
#A6A62A #2AA6A6 #A62AA6
tetradic
#A6A62A #2AA668 #2A2AA6 #A62A68
square
#A6A62A #2AA668 #2A2AA6 #A62A68
split-complementary
#A6A62A #2A68A6 #682AA6
monochromatic
#444411 #75751E #A6A62A #CECE3F #DBDB70
Accessibility & contrast
On white
2.59
#A6A62A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.11
#A6A62A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A62A
8.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A62A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A62A | 1.00 | 2.59 | 8.11 | 8.11 |
| #FFFFFF | 2.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B49F0E
Deuteranopia (green-blind)
#B5A334
Tritanopia (blue-blind)
#B29B8E
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a6a62a; /* rgb */ color: rgb(166, 166, 42); /* oklch */ color: oklch(70.3% 0.139 109.5);
Tailwind
colors: {
custom: {
50: '#c4c06d',
500: '#a6a62a',
950: '#000000',
},
}SCSS
$custom: #a6a62a; $custom-light: #c4c06d; $custom-dark: #000000;
JSON
{
"hex": "#a6a62a",
"rgb": {
"r": 166,
"g": 166,
"b": 42
},
"hsl": {
"h": 60,
"s": 59.615,
"l": 40.784
},
"oklch": {
"l": 0.70338,
"c": 0.1393,
"h": 109.5
},
"luminance": 0.35547
}Semantic roles & 50–950 ramp
primary
#A6A62A
secondary
#6A6AC2
accent
#45E345
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B