#A6A11F#A6A11F
#A6A11F is a light, vivid yellow. Relative luminance 0.337; OKLCH L 69.2% C 0.140 H 107.2°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A11F |
|---|---|
| RGB | rgb(166, 161, 31) |
| HSL | hsl(58, 69%, 39%) |
| HSV | hsv(58, 81%, 65%) |
| CMYK | cmyk(0%, 3%, 81.3%, 34.9%) |
| CIE-LAB | lab(64.72, -12.42, 61.87) |
| CIE-LCH | lch(64.72, 63.10, 101.35°) |
| OKLab | oklab(69.16% -0.0414 0.1338) |
| OKLCH | oklch(69.16% 0.14 107.2) |
| XYZ | xyz(28.7193, 33.6967, 6.2874) |
| Luminance | 0.3370 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.94
Puke
#A5A502
ΔE00 2.09
Pea Soup
#929901
ΔE00 4.47
Baby Poop Green
#8F9805
ΔE00 5.14
Pea Soup Green
#94A617
ΔE00 5.64
Muddy Yellow
#BFAC05
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A11F #1F24A6
analogous
#A65D1F #A6A11F #67A61F
triadic
#A6A11F #1FA6A1 #A11FA6
tetradic
#A6A11F #1FA65D #1F24A6 #A61F67
square
#A6A11F #1FA65D #1F24A6 #A61F67
split-complementary
#A6A11F #1F67A6 #5D1FA6
monochromatic
#3F3D0C #726F15 #A6A11F #D7D12B #E1DC5E
Accessibility & contrast
On white
2.71
#A6A11F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.74
#A6A11F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A11F
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A11F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A11F | 1.00 | 2.71 | 7.74 | 7.74 |
| #FFFFFF | 2.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AF9A00
Deuteranopia (green-blind)
#B29F2B
Tritanopia (blue-blind)
#B3968A
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #a6a11f; /* rgb */ color: rgb(166, 161, 31); /* oklch */ color: oklch(69.2% 0.140 107.2);
Tailwind
colors: {
custom: {
50: '#c4bc68',
500: '#a6a11f',
950: '#000000',
},
}SCSS
$custom: #a6a11f; $custom-light: #c4bc68; $custom-dark: #000000;
JSON
{
"hex": "#a6a11f",
"rgb": {
"r": 166,
"g": 161,
"b": 31
},
"hsl": {
"h": 57.778,
"s": 68.528,
"l": 38.627
},
"oklch": {
"l": 0.69162,
"c": 0.14001,
"h": 107.2
},
"luminance": 0.33696
}Semantic roles & 50–950 ramp
primary
#A6A11F
secondary
#5B5FC5
accent
#43EB3C
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A