#A6A332#A6A332
#A6A332 is a light, vivid yellow. Relative luminance 0.345; OKLCH L 69.7% C 0.131 H 107.9°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A332 |
|---|---|
| RGB | rgb(166, 163, 50) |
| HSL | hsl(58, 54%, 42%) |
| HSV | hsv(58, 70%, 65%) |
| CMYK | cmyk(0%, 1.8%, 69.9%, 34.9%) |
| CIE-LAB | lab(65.38, -12.64, 56.08) |
| CIE-LCH | lch(65.38, 57.49, 102.70°) |
| OKLab | oklab(69.72% -0.0403 0.125) |
| OKLCH | oklch(69.72% 0.131 107.9) |
| XYZ | xyz(29.3999, 34.5326, 8.1338) |
| Luminance | 0.3453 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.52
Puke
#A5A502
ΔE00 3.17
Pea Soup
#929901
ΔE00 4.93
Pea Soup Green
#94A617
ΔE00 5.24
Baby Poop Green
#8F9805
ΔE00 5.43
Puke Green
#9AAE07
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A332 #3235A6
analogous
#A66932 #A6A332 #6FA632
triadic
#A6A332 #32A6A3 #A332A6
tetradic
#A6A332 #32A669 #3235A6 #A6326F
square
#A6A332 #32A669 #3235A6 #A6326F
split-complementary
#A6A332 #326FA6 #6932A6
monochromatic
#484716 #777524 #A6A332 #C9C64C #D7D57B
Accessibility & contrast
On white
2.66
#A6A332 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.91
#A6A332 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A332
7.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A332 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A332 | 1.00 | 2.66 | 7.91 | 7.91 |
| #FFFFFF | 2.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19D20
Deuteranopia (green-blind)
#B3A13A
Tritanopia (blue-blind)
#B2988D
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #a6a332; /* rgb */ color: rgb(166, 163, 50); /* oklch */ color: oklch(69.7% 0.131 107.9);
Tailwind
colors: {
custom: {
50: '#c4be71',
500: '#a6a332',
950: '#000000',
},
}SCSS
$custom: #a6a332; $custom-light: #c4be71; $custom-dark: #000000;
JSON
{
"hex": "#a6a332",
"rgb": {
"r": 166,
"g": 163,
"b": 50
},
"hsl": {
"h": 58.448,
"s": 53.704,
"l": 42.353
},
"oklch": {
"l": 0.69723,
"c": 0.13133,
"h": 107.9
},
"luminance": 0.34532
}Semantic roles & 50–950 ramp
primary
#A6A332
secondary
#7476C0
accent
#4FDD4B
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B