#AAAF2F#AAAF2F
#AAAF2F 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 | #AAAF2F |
|---|---|
| RGB | rgb(170, 175, 47) |
| HSL | hsl(62, 58%, 44%) |
| HSV | hsv(62, 73%, 69%) |
| CMYK | cmyk(2.9%, 0%, 73.1%, 31.4%) |
| CIE-LAB | lab(69.05, -17.23, 60.86) |
| CIE-LCH | lch(69.05, 63.26, 105.81°) |
| OKLab | oklab(72.73% -0.0536 0.1344) |
| OKLCH | oklch(72.73% 0.145 111.8) |
| XYZ | xyz(32.4217, 39.4120, 8.5882) |
| Luminance | 0.3941 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 3.16
Vomit
#A2A415
ΔE00 3.42
Puke
#A5A502
ΔE00 3.67
Puke Green
#9AAE07
ΔE00 3.74
Snot
#ACBB0D
ΔE00 4.23
Pea Soup Green
#94A617
ΔE00 4.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AAAF2F #342FAF
analogous
#AF742F #AAAF2F #6AAF2F
triadic
#AAAF2F #2FAAAF #AF2FAA
tetradic
#AAAF2F #2FAF74 #342FAF #AF2F6A
square
#AAAF2F #2FAF74 #342FAF #AF2F6A
split-complementary
#AAAF2F #2F6AAF #742FAF
monochromatic
#4C4F15 #7B7F22 #AAAF2F #CACF4C #D8DC7C
Accessibility & contrast
On white
2.36
#AAAF2F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.88
#AAAF2F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AAAF2F
8.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AAAF2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AAAF2F | 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)
#BDA715
Deuteranopia (green-blind)
#BDAA39
Tritanopia (blue-blind)
#B6A496
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #aaaf2f; /* rgb */ color: rgb(170, 175, 47); /* oklch */ color: oklch(72.7% 0.145 111.8);
Tailwind
colors: {
custom: {
50: '#c7c671',
500: '#aaaf2f',
950: '#000000',
},
}SCSS
$custom: #aaaf2f; $custom-light: #c7c671; $custom-dark: #000000;
JSON
{
"hex": "#aaaf2f",
"rgb": {
"r": 170,
"g": 175,
"b": 47
},
"hsl": {
"h": 62.344,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.72726,
"c": 0.14473,
"h": 111.8
},
"luminance": 0.39411
}Semantic roles & 50–950 ramp
primary
#AAAF2F
secondary
#7875C4
accent
#47E14D
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B