#A6A331#A6A331
#A6A331 is a light, vivid yellow. Relative luminance 0.345; OKLCH L 69.7% C 0.132 H 107.9°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A331 |
|---|---|
| RGB | rgb(166, 163, 49) |
| HSL | hsl(58, 54%, 42%) |
| HSV | hsv(58, 70%, 65%) |
| CMYK | cmyk(0%, 1.8%, 70.5%, 34.9%) |
| CIE-LAB | lab(65.38, -12.70, 56.46) |
| CIE-LCH | lch(65.38, 57.87, 102.67°) |
| OKLab | oklab(69.72% -0.0405 0.1256) |
| OKLCH | oklch(69.72% 0.132 107.9) |
| XYZ | xyz(29.3785, 34.5241, 8.0214) |
| Luminance | 0.3452 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.42
Puke
#A5A502
ΔE00 3.07
Pea Soup
#929901
ΔE00 4.89
Pea Soup Green
#94A617
ΔE00 5.22
Baby Poop Green
#8F9805
ΔE00 5.40
Puke Green
#9AAE07
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A331 #3134A6
analogous
#A66931 #A6A331 #6EA631
triadic
#A6A331 #31A6A3 #A331A6
tetradic
#A6A331 #31A669 #3134A6 #A6316E
square
#A6A331 #31A669 #3134A6 #A6316E
split-complementary
#A6A331 #316EA6 #6931A6
monochromatic
#474615 #777523 #A6A331 #CAC64A #D8D57A
Accessibility & contrast
On white
2.66
#A6A331 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.90
#A6A331 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A331
7.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A331 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A331 | 1.00 | 2.66 | 7.90 | 7.90 |
| #FFFFFF | 2.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19C1E
Deuteranopia (green-blind)
#B3A139
Tritanopia (blue-blind)
#B2988D
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #a6a331; /* rgb */ color: rgb(166, 163, 49); /* oklch */ color: oklch(69.7% 0.132 107.9);
Tailwind
colors: {
custom: {
50: '#c4be71',
500: '#a6a331',
950: '#000000',
},
}SCSS
$custom: #a6a331; $custom-light: #c4be71; $custom-dark: #000000;
JSON
{
"hex": "#a6a331",
"rgb": {
"r": 166,
"g": 163,
"b": 49
},
"hsl": {
"h": 58.462,
"s": 54.419,
"l": 42.157
},
"oklch": {
"l": 0.69716,
"c": 0.13199,
"h": 107.9
},
"luminance": 0.34523
}Semantic roles & 50–950 ramp
primary
#A6A331
secondary
#7375C0
accent
#4EDE4A
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B