#A6A427#A6A427
#A6A427 is a light, vivid yellow. Relative luminance 0.348; OKLCH L 69.9% C 0.139 H 108.6°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A427 |
|---|---|
| RGB | rgb(166, 164, 39) |
| HSL | hsl(59, 62%, 40%) |
| HSV | hsv(59, 77%, 65%) |
| CMYK | cmyk(0%, 1.2%, 76.5%, 34.9%) |
| CIE-LAB | lab(65.60, -13.68, 60.22) |
| CIE-LCH | lch(65.60, 61.76, 102.80°) |
| OKLab | oklab(69.87% -0.0442 0.1317) |
| OKLCH | oklch(69.87% 0.139 108.6) |
| XYZ | xyz(29.3687, 34.8053, 7.0901) |
| Luminance | 0.3480 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.47
Puke
#A5A502
ΔE00 2.01
Pea Soup
#929901
ΔE00 4.66
Pea Soup Green
#94A617
ΔE00 4.84
Baby Poop Green
#8F9805
ΔE00 5.25
Puke Green
#9AAE07
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A427 #2729A6
analogous
#A66427 #A6A427 #69A627
triadic
#A6A427 #27A6A4 #A427A6
tetradic
#A6A427 #27A664 #2729A6 #A62769
square
#A6A427 #27A664 #2729A6 #A62769
split-complementary
#A6A427 #2769A6 #6427A6
monochromatic
#434210 #74731B #A6A427 #D1CE3A #DCDA6B
Accessibility & contrast
On white
2.64
#A6A427 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.96
#A6A427 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A427
7.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A427 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A427 | 1.00 | 2.64 | 7.96 | 7.96 |
| #FFFFFF | 2.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29D07
Deuteranopia (green-blind)
#B4A131
Tritanopia (blue-blind)
#B2998D
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #a6a427; /* rgb */ color: rgb(166, 164, 39); /* oklch */ color: oklch(69.9% 0.139 108.6);
Tailwind
colors: {
custom: {
50: '#c4be6c',
500: '#a6a427',
950: '#000000',
},
}SCSS
$custom: #a6a427; $custom-light: #c4be6c; $custom-dark: #000000;
JSON
{
"hex": "#a6a427",
"rgb": {
"r": 166,
"g": 164,
"b": 39
},
"hsl": {
"h": 59.055,
"s": 61.951,
"l": 40.196
},
"oklch": {
"l": 0.69873,
"c": 0.13897,
"h": 108.6
},
"luminance": 0.34804
}Semantic roles & 50–950 ramp
primary
#A6A427
secondary
#6668C3
accent
#45E543
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A