#AAAF25#AAAF25
#AAAF25 is a light, vivid yellow. Relative luminance 0.393; OKLCH L 72.7% C 0.150 H 111.8°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).
Color values
| HEX | #AAAF25 |
|---|---|
| RGB | rgb(170, 175, 37) |
| HSL | hsl(62, 65%, 42%) |
| HSV | hsv(62, 79%, 69%) |
| CMYK | cmyk(2.9%, 0%, 78.9%, 31.4%) |
| CIE-LAB | lab(69.00, -17.65, 64.04) |
| CIE-LCH | lch(69.00, 66.43, 105.41°) |
| OKLab | oklab(72.67% -0.0557 0.1394) |
| OKLCH | oklch(72.67% 0.15 111.8) |
| XYZ | xyz(32.2426, 39.3404, 7.6449) |
| Luminance | 0.3934 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.61
Vomit
#A2A415
ΔE00 3.20
Puke
#A5A502
ΔE00 3.23
Puke Green
#9AAE07
ΔE00 3.53
Snot
#ACBB0D
ΔE00 3.85
Pea Soup Green
#94A617
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AAAF25 #2A25AF
analogous
#AF6F25 #AAAF25 #65AF25
triadic
#AAAF25 #25AAAF #AF25AA
tetradic
#AAAF25 #25AF6F #2A25AF #AF2565
square
#AAAF25 #25AF6F #2A25AF #AF2565
split-complementary
#AAAF25 #2565AF #6F25AF
monochromatic
#484A10 #797C1A #AAAF25 #D0D63C #DCE06E
Accessibility & contrast
On white
2.37
#AAAF25 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.87
#AAAF25 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AAAF25
8.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AAAF25 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AAAF25 | 1.00 | 2.37 | 8.87 | 8.87 |
| #FFFFFF | 2.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA700
Deuteranopia (green-blind)
#BEAA32
Tritanopia (blue-blind)
#B6A496
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #aaaf25; /* rgb */ color: rgb(170, 175, 37); /* oklch */ color: oklch(72.7% 0.150 111.8);
Tailwind
colors: {
custom: {
50: '#c7c66c',
500: '#aaaf25',
950: '#000000',
},
}SCSS
$custom: #aaaf25; $custom-light: #c7c66c; $custom-dark: #000000;
JSON
{
"hex": "#aaaf25",
"rgb": {
"r": 170,
"g": 175,
"b": 37
},
"hsl": {
"h": 62.174,
"s": 65.094,
"l": 41.569
},
"oklch": {
"l": 0.72669,
"c": 0.15005,
"h": 111.8
},
"luminance": 0.3934
}Semantic roles & 50–950 ramp
primary
#AAAF25
secondary
#6C69C7
accent
#40E846
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141308
muted
#82827A