#A6A229#A6A229
#A6A229 is a light, vivid yellow. Relative luminance 0.341; OKLCH L 69.4% C 0.136 H 107.5°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A229 |
|---|---|
| RGB | rgb(166, 162, 41) |
| HSL | hsl(58, 60%, 41%) |
| HSV | hsv(58, 75%, 65%) |
| CMYK | cmyk(0%, 2.4%, 75.3%, 34.9%) |
| CIE-LAB | lab(65.05, -12.56, 59.05) |
| CIE-LCH | lch(65.05, 60.37, 102.01°) |
| OKLab | oklab(69.44% -0.0409 0.1296) |
| OKLCH | oklch(69.44% 0.136 107.5) |
| XYZ | xyz(29.0476, 34.1087, 7.1509) |
| Luminance | 0.3411 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.03
Puke
#A5A502
ΔE00 2.50
Pea Soup
#929901
ΔE00 4.61
Baby Poop Green
#8F9805
ΔE00 5.20
Pea Soup Green
#94A617
ΔE00 5.36
Puke Green
#9AAE07
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A229 #292DA6
analogous
#A66329 #A6A229 #6BA629
triadic
#A6A229 #29A6A2 #A229A6
tetradic
#A6A229 #29A663 #292DA6 #A6296B
square
#A6A229 #29A663 #292DA6 #A6296B
split-complementary
#A6A229 #296BA6 #6329A6
monochromatic
#444211 #75721D #A6A229 #CFCA3D #DBD86E
Accessibility & contrast
On white
2.68
#A6A229 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.82
#A6A229 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A229
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A229 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A229 | 1.00 | 2.68 | 7.82 | 7.82 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09B0E
Deuteranopia (green-blind)
#B2A032
Tritanopia (blue-blind)
#B2978B
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a6a229; /* rgb */ color: rgb(166, 162, 41); /* oklch */ color: oklch(69.4% 0.136 107.5);
Tailwind
colors: {
custom: {
50: '#c4bd6d',
500: '#a6a229',
950: '#000000',
},
}SCSS
$custom: #a6a229; $custom-light: #c4bd6d; $custom-dark: #000000;
JSON
{
"hex": "#a6a229",
"rgb": {
"r": 166,
"g": 162,
"b": 41
},
"hsl": {
"h": 58.08,
"s": 60.386,
"l": 40.588
},
"oklch": {
"l": 0.69439,
"c": 0.13593,
"h": 107.5
},
"luminance": 0.34108
}Semantic roles & 50–950 ramp
primary
#A6A229
secondary
#696CC2
accent
#49E444
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A