#AAAF30#AAAF30
#AAAF30 is a light, vivid yellow. Relative luminance 0.394; OKLCH L 72.7% C 0.144 H 111.8°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).
Color values
| HEX | #AAAF30 |
|---|---|
| RGB | rgb(170, 175, 48) |
| HSL | hsl(62, 57%, 44%) |
| HSV | hsv(62, 73%, 69%) |
| CMYK | cmyk(2.9%, 0%, 72.6%, 31.4%) |
| CIE-LAB | lab(69.05, -17.18, 60.52) |
| CIE-LCH | lch(69.05, 62.91, 105.85°) |
| OKLab | oklab(72.73% -0.0534 0.1339) |
| OKLCH | oklch(72.73% 0.144 111.8) |
| XYZ | xyz(32.4421, 39.4202, 8.6956) |
| Luminance | 0.3942 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 3.23
Vomit
#A2A415
ΔE00 3.45
Puke
#A5A502
ΔE00 3.73
Puke Green
#9AAE07
ΔE00 3.77
Snot
#ACBB0D
ΔE00 4.28
Pea Soup Green
#94A617
ΔE00 4.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AAAF30 #3530AF
analogous
#AF7430 #AAAF30 #6AAF30
triadic
#AAAF30 #30AAAF #AF30AA
tetradic
#AAAF30 #30AF74 #3530AF #AF306A
square
#AAAF30 #30AF74 #3530AF #AF306A
split-complementary
#AAAF30 #306AAF #7430AF
monochromatic
#4D4F16 #7B7F23 #AAAF30 #C9CE4E #D8DC7E
Accessibility & contrast
On white
2.36
#AAAF30 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.88
#AAAF30 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AAAF30
8.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AAAF30 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AAAF30 | 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)
#BDA718
Deuteranopia (green-blind)
#BDAA3A
Tritanopia (blue-blind)
#B6A497
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #aaaf30; /* rgb */ color: rgb(170, 175, 48); /* oklch */ color: oklch(72.7% 0.144 111.8);
Tailwind
colors: {
custom: {
50: '#c7c672',
500: '#aaaf30',
950: '#000000',
},
}SCSS
$custom: #aaaf30; $custom-light: #c7c672; $custom-dark: #000000;
JSON
{
"hex": "#aaaf30",
"rgb": {
"r": 170,
"g": 175,
"b": 48
},
"hsl": {
"h": 62.362,
"s": 56.951,
"l": 43.725
},
"oklch": {
"l": 0.72733,
"c": 0.14413,
"h": 111.8
},
"luminance": 0.39419
}Semantic roles & 50–950 ramp
primary
#AAAF30
secondary
#7A76C4
accent
#48E04E
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B