#A6A51F#A6A51F
#A6A51F is a light, vivid yellow. Relative luminance 0.351; OKLCH L 70.1% C 0.144 H 109.1°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A51F |
|---|---|
| RGB | rgb(166, 165, 31) |
| HSL | hsl(60, 69%, 39%) |
| HSV | hsv(60, 81%, 65%) |
| CMYK | cmyk(0%, 0.6%, 81.3%, 34.9%) |
| CIE-LAB | lab(65.84, -14.50, 62.84) |
| CIE-LCH | lch(65.84, 64.49, 102.99°) |
| OKLab | oklab(70.06% -0.0472 0.1359) |
| OKLCH | oklch(70.06% 0.144 109.1) |
| XYZ | xyz(29.4295, 35.1171, 6.5241) |
| Luminance | 0.3512 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 0.97
Puke
#A5A502
ΔE00 1.30
Pea Soup Green
#94A617
ΔE00 4.65
Pea Soup
#929901
ΔE00 4.68
Puke Green
#9AAE07
ΔE00 5.09
Mustard Green
#A8B504
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A51F #1F20A6
analogous
#A6611F #A6A51F #63A61F
triadic
#A6A51F #1FA6A5 #A51FA6
tetradic
#A6A51F #1FA661 #1F20A6 #A61F63
square
#A6A51F #1FA661 #1F20A6 #A61F63
split-complementary
#A6A51F #1F63A6 #611FA6
monochromatic
#3F3E0C #727215 #A6A51F #D7D62B #E1E05E
Accessibility & contrast
On white
2.62
#A6A51F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.02
#A6A51F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A51F
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A51F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A51F | 1.00 | 2.62 | 8.02 | 8.02 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#B5A22C
Tritanopia (blue-blind)
#B29A8D
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #a6a51f; /* rgb */ color: rgb(166, 165, 31); /* oklch */ color: oklch(70.1% 0.144 109.1);
Tailwind
colors: {
custom: {
50: '#c4bf69',
500: '#a6a51f',
950: '#000000',
},
}SCSS
$custom: #a6a51f; $custom-light: #c4bf69; $custom-dark: #000000;
JSON
{
"hex": "#a6a51f",
"rgb": {
"r": 166,
"g": 165,
"b": 31
},
"hsl": {
"h": 59.556,
"s": 68.528,
"l": 38.627
},
"oklch": {
"l": 0.70055,
"c": 0.1438,
"h": 109.1
},
"luminance": 0.35116
}Semantic roles & 50–950 ramp
primary
#A6A51F
secondary
#5B5CC5
accent
#3EEB3C
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131207
muted
#82817A