#AAAF2C#AAAF2C
#AAAF2C is a light, vivid yellow. Relative luminance 0.394; OKLCH L 72.7% C 0.146 H 111.8°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).
Color values
| HEX | #AAAF2C |
|---|---|
| RGB | rgb(170, 175, 44) |
| HSL | hsl(62, 60%, 43%) |
| HSV | hsv(62, 75%, 69%) |
| CMYK | cmyk(2.9%, 0%, 74.9%, 31.4%) |
| CIE-LAB | lab(69.03, -17.37, 61.87) |
| CIE-LCH | lch(69.03, 64.26, 105.68°) |
| OKLab | oklab(72.71% -0.0543 0.136) |
| OKLCH | oklch(72.71% 0.146 111.8) |
| XYZ | xyz(32.3632, 39.3887, 8.2803) |
| Luminance | 0.3939 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.97
Vomit
#A2A415
ΔE00 3.32
Puke
#A5A502
ΔE00 3.51
Puke Green
#9AAE07
ΔE00 3.65
Snot
#ACBB0D
ΔE00 4.09
Pea Soup Green
#94A617
ΔE00 4.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AAAF2C #312CAF
analogous
#AF722C #AAAF2C #68AF2C
triadic
#AAAF2C #2CAAAF #AF2CAA
tetradic
#AAAF2C #2CAF72 #312CAF #AF2C68
square
#AAAF2C #2CAF72 #312CAF #AF2C68
split-complementary
#AAAF2C #2C68AF #722CAF
monochromatic
#4B4D13 #7A7E20 #AAAF2C #CCD147 #D9DD78
Accessibility & contrast
On white
2.37
#AAAF2C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.88
#AAAF2C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AAAF2C
8.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AAAF2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AAAF2C | 1.00 | 2.37 | 8.88 | 8.88 |
| #FFFFFF | 2.37 | 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)
#BDA70E
Deuteranopia (green-blind)
#BDAA37
Tritanopia (blue-blind)
#B6A496
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #aaaf2c; /* rgb */ color: rgb(170, 175, 44); /* oklch */ color: oklch(72.7% 0.146 111.8);
Tailwind
colors: {
custom: {
50: '#c7c670',
500: '#aaaf2c',
950: '#000000',
},
}SCSS
$custom: #aaaf2c; $custom-light: #c7c670; $custom-dark: #000000;
JSON
{
"hex": "#aaaf2c",
"rgb": {
"r": 170,
"g": 175,
"b": 44
},
"hsl": {
"h": 62.29,
"s": 59.817,
"l": 42.941
},
"oklch": {
"l": 0.72708,
"c": 0.14644,
"h": 111.8
},
"luminance": 0.39388
}Semantic roles & 50–950 ramp
primary
#AAAF2C
secondary
#7572C5
accent
#45E34B
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B