#AAAF26#AAAF26
#AAAF26 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 | #AAAF26 |
|---|---|
| RGB | rgb(170, 175, 38) |
| HSL | hsl(62, 64%, 42%) |
| HSV | hsv(62, 78%, 69%) |
| CMYK | cmyk(2.9%, 0%, 78.3%, 31.4%) |
| CIE-LAB | lab(69.00, -17.62, 63.75) |
| CIE-LCH | lch(69.00, 66.14, 105.45°) |
| OKLab | oklab(72.67% -0.0555 0.1389) |
| OKLCH | oklch(72.67% 0.15 111.8) |
| XYZ | xyz(32.2585, 39.3468, 7.7287) |
| Luminance | 0.3935 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.65
Vomit
#A2A415
ΔE00 3.21
Puke
#A5A502
ΔE00 3.27
Puke Green
#9AAE07
ΔE00 3.54
Snot
#ACBB0D
ΔE00 3.87
Pea Soup Green
#94A617
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AAAF26 #2B26AF
analogous
#AF7026 #AAAF26 #66AF26
triadic
#AAAF26 #26AAAF #AF26AA
tetradic
#AAAF26 #26AF70 #2B26AF #AF2666
square
#AAAF26 #26AF70 #2B26AF #AF2666
split-complementary
#AAAF26 #2666AF #7026AF
monochromatic
#484A10 #797D1B #AAAF26 #CFD53D #DCE070
Accessibility & contrast
On white
2.37
#AAAF26 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.87
#AAAF26 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AAAF26
8.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AAAF26 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AAAF26 | 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: #aaaf26; /* rgb */ color: rgb(170, 175, 38); /* oklch */ color: oklch(72.7% 0.150 111.8);
Tailwind
colors: {
custom: {
50: '#c7c66d',
500: '#aaaf26',
950: '#000000',
},
}SCSS
$custom: #aaaf26; $custom-light: #c7c66d; $custom-dark: #000000;
JSON
{
"hex": "#aaaf26",
"rgb": {
"r": 170,
"g": 175,
"b": 38
},
"hsl": {
"h": 62.19,
"s": 64.319,
"l": 41.765
},
"oklch": {
"l": 0.72674,
"c": 0.14958,
"h": 111.8
},
"luminance": 0.39346
}Semantic roles & 50–950 ramp
primary
#AAAF26
secondary
#6E6AC7
accent
#40E747
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141308
muted
#82827A