#A6AE2F#A6AE2F
#A6AE2F is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.2% C 0.145 H 113.1°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).
Color values
| HEX | #A6AE2F |
|---|---|
| RGB | rgb(166, 174, 47) |
| HSL | hsl(64, 57%, 43%) |
| HSV | hsv(64, 73%, 68%) |
| CMYK | cmyk(4.6%, 0%, 73%, 31.8%) |
| CIE-LAB | lab(68.45, -18.45, 60.18) |
| CIE-LCH | lch(68.45, 62.94, 107.04°) |
| OKLab | oklab(72.17% -0.0568 0.1331) |
| OKLCH | oklch(72.17% 0.145 113.1) |
| XYZ | xyz(31.3760, 38.5850, 8.4836) |
| Luminance | 0.3858 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 3.13
Mustard Green
#A8B504
ΔE00 3.28
Vomit
#A2A415
ΔE00 3.40
Pea Soup Green
#94A617
ΔE00 3.75
Puke
#A5A502
ΔE00 3.87
Barf Green
#94AC02
ΔE00 3.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6AE2F #372FAE
analogous
#AE772F #A6AE2F #66AE2F
triadic
#A6AE2F #2FA6AE #AE2FA6
tetradic
#A6AE2F #2FAE77 #372FAE #AE2F66
square
#A6AE2F #2FAE77 #372FAE #AE2F66
split-complementary
#A6AE2F #2F66AE #772FAE
monochromatic
#4A4E15 #787E22 #A6AE2F #C6CF4C #D6DC7C
Accessibility & contrast
On white
2.41
#A6AE2F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.72
#A6AE2F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6AE2F
8.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6AE2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6AE2F | 1.00 | 2.41 | 8.72 | 8.72 |
| #FFFFFF | 2.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA616
Deuteranopia (green-blind)
#BBA839
Tritanopia (blue-blind)
#B1A396
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #a6ae2f; /* rgb */ color: rgb(166, 174, 47); /* oklch */ color: oklch(72.2% 0.145 113.1);
Tailwind
colors: {
custom: {
50: '#c4c671',
500: '#a6ae2f',
950: '#000000',
},
}SCSS
$custom: #a6ae2f; $custom-light: #c4c671; $custom-dark: #000000;
JSON
{
"hex": "#a6ae2f",
"rgb": {
"r": 166,
"g": 174,
"b": 47
},
"hsl": {
"h": 63.78,
"s": 57.466,
"l": 43.333
},
"oklch": {
"l": 0.72168,
"c": 0.14472,
"h": 113.1
},
"luminance": 0.38584
}Semantic roles & 50–950 ramp
primary
#A6AE2F
secondary
#7A75C4
accent
#47E151
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B