#A6A01F#A6A01F
#A6A01F is a light, vivid yellow. Relative luminance 0.333; OKLCH L 68.9% C 0.139 H 106.7°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A01F |
|---|---|
| RGB | rgb(166, 160, 31) |
| HSL | hsl(57, 69%, 39%) |
| HSV | hsv(57, 81%, 65%) |
| CMYK | cmyk(0%, 3.6%, 81.3%, 34.9%) |
| CIE-LAB | lab(64.44, -11.90, 61.63) |
| CIE-LCH | lch(64.44, 62.77, 100.92°) |
| OKLab | oklab(68.94% -0.0399 0.1332) |
| OKLCH | oklch(68.94% 0.139 106.7) |
| XYZ | xyz(28.5452, 33.3486, 6.2294) |
| Luminance | 0.3335 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.27
Puke
#A5A502
ΔE00 2.40
Pea Soup
#929901
ΔE00 4.50
Baby Poop Green
#8F9805
ΔE00 5.17
Pea Soup Green
#94A617
ΔE00 5.93
Muddy Yellow
#BFAC05
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A01F #1F25A6
analogous
#A65C1F #A6A01F #68A61F
triadic
#A6A01F #1FA6A0 #A01FA6
tetradic
#A6A01F #1FA65C #1F25A6 #A61F68
square
#A6A01F #1FA65C #1F25A6 #A61F68
split-complementary
#A6A01F #1F68A6 #5C1FA6
monochromatic
#3F3D0C #726E15 #A6A01F #D7D02B #E1DB5E
Accessibility & contrast
On white
2.74
#A6A01F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.67
#A6A01F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A01F
7.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A01F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A01F | 1.00 | 2.74 | 7.67 | 7.67 |
| #FFFFFF | 2.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9A00
Deuteranopia (green-blind)
#B19E2B
Tritanopia (blue-blind)
#B39589
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #a6a01f; /* rgb */ color: rgb(166, 160, 31); /* oklch */ color: oklch(68.9% 0.139 106.7);
Tailwind
colors: {
custom: {
50: '#c4bb68',
500: '#a6a01f',
950: '#000000',
},
}SCSS
$custom: #a6a01f; $custom-light: #c4bb68; $custom-dark: #000000;
JSON
{
"hex": "#a6a01f",
"rgb": {
"r": 166,
"g": 160,
"b": 31
},
"hsl": {
"h": 57.333,
"s": 68.528,
"l": 38.627
},
"oklch": {
"l": 0.6894,
"c": 0.13909,
"h": 106.7
},
"luminance": 0.33348
}Semantic roles & 50–950 ramp
primary
#A6A01F
secondary
#5B60C5
accent
#44EB3C
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A