#AAAF3F#AAAF3F
#AAAF3F is a light, vivid yellow. Relative luminance 0.396; OKLCH L 72.9% C 0.134 H 111.7°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).
Color values
| HEX | #AAAF3F |
|---|---|
| RGB | rgb(170, 175, 63) |
| HSL | hsl(63, 47%, 47%) |
| HSV | hsv(63, 64%, 69%) |
| CMYK | cmyk(2.9%, 0%, 64%, 31.4%) |
| CIE-LAB | lab(69.16, -16.33, 54.79) |
| CIE-LCH | lch(69.16, 57.17, 106.60°) |
| OKLab | oklab(72.85% -0.0495 0.1243) |
| OKLCH | oklch(72.85% 0.134 111.7) |
| XYZ | xyz(32.8057, 39.5656, 10.6105) |
| Luminance | 0.3957 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.35
Mustard Green
#A8B504
ΔE00 4.56
Puke Green
#9AAE07
ΔE00 4.66
Booger
#9BB53C
ΔE00 4.82
Puke
#A5A502
ΔE00 4.87
Pea Soup Green
#94A617
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AAAF3F #443FAF
analogous
#AF7C3F #AAAF3F #72AF3F
triadic
#AAAF3F #3FAAAF #AF3FAA
tetradic
#AAAF3F #3FAF7C #443FAF #AF3F72
square
#AAAF3F #3FAF7C #443FAF #AF3F72
split-complementary
#AAAF3F #3F72AF #7C3FAF
monochromatic
#53551F #7E822F #AAAF3F #C3C764 #D4D791
Accessibility & contrast
On white
2.36
#AAAF3F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.91
#AAAF3F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AAAF3F
8.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AAAF3F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AAAF3F | 1.00 | 2.36 | 8.91 | 8.91 |
| #FFFFFF | 2.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA730
Deuteranopia (green-blind)
#BCAA46
Tritanopia (blue-blind)
#B5A598
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #aaaf3f; /* rgb */ color: rgb(170, 175, 63); /* oklch */ color: oklch(72.9% 0.134 111.7);
Tailwind
colors: {
custom: {
50: '#c6c67a',
500: '#aaaf3f',
950: '#000000',
},
}SCSS
$custom: #aaaf3f; $custom-light: #c6c67a; $custom-dark: #000000;
JSON
{
"hex": "#aaaf3f",
"rgb": {
"r": 170,
"g": 175,
"b": 63
},
"hsl": {
"h": 62.679,
"s": 47.059,
"l": 46.667
},
"oklch": {
"l": 0.7285,
"c": 0.13378,
"h": 111.7
},
"luminance": 0.39565
}Semantic roles & 50–950 ramp
primary
#AAAF3F
secondary
#8A87C3
accent
#51D757
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#131309
muted
#82827B