#A6AE1F#A6AE1F
#A6AE1F is a light, vivid yellow. Relative luminance 0.385; OKLCH L 72.1% C 0.153 H 113.1°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).
Color values
| HEX | #A6AE1F |
|---|---|
| RGB | rgb(166, 174, 31) |
| HSL | hsl(63, 70%, 40%) |
| HSV | hsv(63, 82%, 68%) |
| CMYK | cmyk(4.6%, 0%, 82.2%, 31.8%) |
| CIE-LAB | lab(68.37, -19.09, 65.03) |
| CIE-LCH | lch(68.37, 67.77, 106.36°) |
| OKLab | oklab(72.08% -0.0599 0.1406) |
| OKLCH | oklch(72.08% 0.153 113.1) |
| XYZ | xyz(31.1103, 38.4787, 7.0844) |
| Luminance | 0.3848 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.40
Puke Green
#9AAE07
ΔE00 2.71
Vomit
#A2A415
ΔE00 3.02
Puke
#A5A502
ΔE00 3.19
Barf Green
#94AC02
ΔE00 3.75
Pea Soup Green
#94A617
ΔE00 3.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6AE1F #271FAE
analogous
#AE6F1F #A6AE1F #5EAE1F
triadic
#A6AE1F #1FA6AE #AE1FA6
tetradic
#A6AE1F #1FAE6F #271FAE #AE1F5E
square
#A6AE1F #1FAE6F #271FAE #AE1F5E
split-complementary
#A6AE1F #1F5EAE #6F1FAE
monochromatic
#43460C #747A16 #A6AE1F #D1DA30 #DCE364
Accessibility & contrast
On white
2.42
#A6AE1F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.70
#A6AE1F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6AE1F
8.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6AE1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6AE1F | 1.00 | 2.42 | 8.70 | 8.70 |
| #FFFFFF | 2.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA500
Deuteranopia (green-blind)
#BCA82E
Tritanopia (blue-blind)
#B2A395
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #a6ae1f; /* rgb */ color: rgb(166, 174, 31); /* oklch */ color: oklch(72.1% 0.153 113.1);
Tailwind
colors: {
custom: {
50: '#c4c56a',
500: '#a6ae1f',
950: '#000000',
},
}SCSS
$custom: #a6ae1f; $custom-light: #c4c56a; $custom-dark: #000000;
JSON
{
"hex": "#a6ae1f",
"rgb": {
"r": 166,
"g": 174,
"b": 31
},
"hsl": {
"h": 63.357,
"s": 69.756,
"l": 40.196
},
"oklch": {
"l": 0.72082,
"c": 0.15279,
"h": 113.1
},
"luminance": 0.38478
}Semantic roles & 50–950 ramp
primary
#A6AE1F
secondary
#6660C8
accent
#3BED45
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131207
muted
#82817A