#AAAF2E#AAAF2E
#AAAF2E is a light, vivid yellow. Relative luminance 0.394; OKLCH L 72.7% C 0.145 H 111.8°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).
Color values
| HEX | #AAAF2E |
|---|---|
| RGB | rgb(170, 175, 46) |
| HSL | hsl(62, 58%, 43%) |
| HSV | hsv(62, 74%, 69%) |
| CMYK | cmyk(2.9%, 0%, 73.7%, 31.4%) |
| CIE-LAB | lab(69.04, -17.28, 61.21) |
| CIE-LCH | lch(69.04, 63.60, 105.77°) |
| OKLab | oklab(72.72% -0.0539 0.135) |
| OKLCH | oklch(72.72% 0.145 111.8) |
| XYZ | xyz(32.4017, 39.4041, 8.4831) |
| Luminance | 0.3940 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 3.09
Vomit
#A2A415
ΔE00 3.38
Puke
#A5A502
ΔE00 3.61
Puke Green
#9AAE07
ΔE00 3.71
Snot
#ACBB0D
ΔE00 4.18
Pea Soup Green
#94A617
ΔE00 4.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AAAF2E #332EAF
analogous
#AF742E #AAAF2E #69AF2E
triadic
#AAAF2E #2EAAAF #AF2EAA
tetradic
#AAAF2E #2EAF74 #332EAF #AF2E69
square
#AAAF2E #2EAF74 #332EAF #AF2E69
split-complementary
#AAAF2E #2E69AF #742EAF
monochromatic
#4C4E15 #7B7F21 #AAAF2E #CAD04B #D9DC7B
Accessibility & contrast
On white
2.36
#AAAF2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.88
#AAAF2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AAAF2E
8.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AAAF2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AAAF2E | 1.00 | 2.36 | 8.88 | 8.88 |
| #FFFFFF | 2.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA713
Deuteranopia (green-blind)
#BDAA38
Tritanopia (blue-blind)
#B6A496
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #aaaf2e; /* rgb */ color: rgb(170, 175, 46); /* oklch */ color: oklch(72.7% 0.145 111.8);
Tailwind
colors: {
custom: {
50: '#c7c671',
500: '#aaaf2e',
950: '#000000',
},
}SCSS
$custom: #aaaf2e; $custom-light: #c7c671; $custom-dark: #000000;
JSON
{
"hex": "#aaaf2e",
"rgb": {
"r": 170,
"g": 175,
"b": 46
},
"hsl": {
"h": 62.326,
"s": 58.371,
"l": 43.333
},
"oklch": {
"l": 0.7272,
"c": 0.14531,
"h": 111.8
},
"luminance": 0.39403
}Semantic roles & 50–950 ramp
primary
#AAAF2E
secondary
#7774C5
accent
#46E24C
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B