#A6A231#A6A231
#A6A231 is a light, vivid yellow. Relative luminance 0.342; OKLCH L 69.5% C 0.131 H 107.3°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A231 |
|---|---|
| RGB | rgb(166, 162, 49) |
| HSL | hsl(58, 54%, 42%) |
| HSV | hsv(58, 70%, 65%) |
| CMYK | cmyk(0%, 2.4%, 70.5%, 34.9%) |
| CIE-LAB | lab(65.10, -12.17, 56.19) |
| CIE-LCH | lch(65.10, 57.49, 102.22°) |
| OKLab | oklab(69.49% -0.0391 0.125) |
| OKLCH | oklch(69.49% 0.131 107.3) |
| XYZ | xyz(29.2017, 34.1704, 7.9625) |
| Luminance | 0.3417 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.62
Puke
#A5A502
ΔE00 3.22
Pea Soup
#929901
ΔE00 4.87
Baby Poop Green
#8F9805
ΔE00 5.39
Pea Soup Green
#94A617
ΔE00 5.49
Puke Green
#9AAE07
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A231 #3135A6
analogous
#A66831 #A6A231 #6FA631
triadic
#A6A231 #31A6A2 #A231A6
tetradic
#A6A231 #31A668 #3135A6 #A6316F
square
#A6A231 #31A668 #3135A6 #A6316F
split-complementary
#A6A231 #316FA6 #6831A6
monochromatic
#474615 #777423 #A6A231 #CAC54A #D8D47A
Accessibility & contrast
On white
2.68
#A6A231 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.83
#A6A231 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A231
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A231 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A231 | 1.00 | 2.68 | 7.83 | 7.83 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09C1F
Deuteranopia (green-blind)
#B2A039
Tritanopia (blue-blind)
#B2978C
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a6a231; /* rgb */ color: rgb(166, 162, 49); /* oklch */ color: oklch(69.5% 0.131 107.3);
Tailwind
colors: {
custom: {
50: '#c4bd71',
500: '#a6a231',
950: '#000000',
},
}SCSS
$custom: #a6a231; $custom-light: #c4bd71; $custom-dark: #000000;
JSON
{
"hex": "#a6a231",
"rgb": {
"r": 166,
"g": 162,
"b": 49
},
"hsl": {
"h": 57.949,
"s": 54.419,
"l": 42.157
},
"oklch": {
"l": 0.69493,
"c": 0.131,
"h": 107.3
},
"luminance": 0.34169
}Semantic roles & 50–950 ramp
primary
#A6A231
secondary
#7375C0
accent
#4FDE4A
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B