#AAAF45#AAAF45
#AAAF45 is a light, vivid yellow. Relative luminance 0.396; OKLCH L 72.9% C 0.129 H 111.7°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).
Color values
| HEX | #AAAF45 |
|---|---|
| RGB | rgb(170, 175, 69) |
| HSL | hsl(63, 43%, 48%) |
| HSV | hsv(63, 61%, 69%) |
| CMYK | cmyk(2.9%, 0%, 60.6%, 31.4%) |
| CIE-LAB | lab(69.21, -15.92, 52.26) |
| CIE-LCH | lch(69.21, 54.63, 106.95°) |
| OKLab | oklab(72.91% -0.0477 0.1198) |
| OKLCH | oklch(72.91% 0.129 111.7) |
| XYZ | xyz(32.9826, 39.6364, 11.5422) |
| Luminance | 0.3964 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 4.82
Vomit
#A2A415
ΔE00 4.89
Puke Green
#9AAE07
ΔE00 5.20
Mustard Green
#A8B504
ΔE00 5.24
Pea Soup Green
#94A617
ΔE00 5.32
Puke
#A5A502
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AAAF45 #4A45AF
analogous
#AF7F45 #AAAF45 #75AF45
triadic
#AAAF45 #45AAAF #AF45AA
tetradic
#AAAF45 #45AF7F #4A45AF #AF4575
square
#AAAF45 #45AF7F #4A45AF #AF4575
split-complementary
#AAAF45 #4575AF #7F45AF
monochromatic
#555722 #7F8334 #AAAF45 #C1C56C #D3D698
Accessibility & contrast
On white
2.35
#AAAF45 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.93
#AAAF45 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AAAF45
8.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AAAF45 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AAAF45 | 1.00 | 2.35 | 8.93 | 8.93 |
| #FFFFFF | 2.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA839
Deuteranopia (green-blind)
#BCAA4C
Tritanopia (blue-blind)
#B5A599
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #aaaf45; /* rgb */ color: rgb(170, 175, 69); /* oklch */ color: oklch(72.9% 0.129 111.7);
Tailwind
colors: {
custom: {
50: '#c6c67d',
500: '#aaaf45',
950: '#000000',
},
}SCSS
$custom: #aaaf45; $custom-light: #c6c67d; $custom-dark: #000000;
JSON
{
"hex": "#aaaf45",
"rgb": {
"r": 170,
"g": 175,
"b": 69
},
"hsl": {
"h": 62.83,
"s": 43.443,
"l": 47.843
},
"oklch": {
"l": 0.72907,
"c": 0.12893,
"h": 111.7
},
"luminance": 0.39636
}Semantic roles & 50–950 ramp
primary
#AAAF45
secondary
#908DC2
accent
#55D35B
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C