#A6AE31#A6AE31
#A6AE31 is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.2% C 0.143 H 113.1°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).
Color values
| HEX | #A6AE31 |
|---|---|
| RGB | rgb(166, 174, 49) |
| HSL | hsl(64, 56%, 44%) |
| HSV | hsv(64, 72%, 68%) |
| CMYK | cmyk(4.6%, 0%, 71.8%, 31.8%) |
| CIE-LAB | lab(68.46, -18.35, 59.48) |
| CIE-LCH | lch(68.46, 62.24, 107.14°) |
| OKLab | oklab(72.18% -0.0563 0.132) |
| OKLCH | oklch(72.18% 0.144 113.1) |
| XYZ | xyz(31.4173, 38.6015, 8.7010) |
| Luminance | 0.3860 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 3.23
Mustard Green
#A8B504
ΔE00 3.43
Vomit
#A2A415
ΔE00 3.50
Pea Soup Green
#94A617
ΔE00 3.78
Puke
#A5A502
ΔE00 4.00
Barf Green
#94AC02
ΔE00 4.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6AE31 #3931AE
analogous
#AE7731 #A6AE31 #67AE31
triadic
#A6AE31 #31A6AE #AE31A6
tetradic
#A6AE31 #31AE77 #3931AE #AE3167
square
#A6AE31 #31AE77 #3931AE #AE3167
split-complementary
#A6AE31 #3167AE #7731AE
monochromatic
#4B4E16 #787E24 #A6AE31 #C5CD4F #D5DB7F
Accessibility & contrast
On white
2.41
#A6AE31 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.72
#A6AE31 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6AE31
8.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6AE31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6AE31 | 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)
#BBA61A
Deuteranopia (green-blind)
#BBA83B
Tritanopia (blue-blind)
#B1A396
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #a6ae31; /* rgb */ color: rgb(166, 174, 49); /* oklch */ color: oklch(72.2% 0.143 113.1);
Tailwind
colors: {
custom: {
50: '#c4c672',
500: '#a6ae31',
950: '#000000',
},
}SCSS
$custom: #a6ae31; $custom-light: #c4c672; $custom-dark: #000000;
JSON
{
"hex": "#a6ae31",
"rgb": {
"r": 166,
"g": 174,
"b": 49
},
"hsl": {
"h": 63.84,
"s": 56.054,
"l": 43.725
},
"oklch": {
"l": 0.72182,
"c": 0.1435,
"h": 113.1
},
"luminance": 0.38601
}Semantic roles & 50–950 ramp
primary
#A6AE31
secondary
#7C77C4
accent
#48DF52
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B