#AAAF27#AAAF27
#AAAF27 is a light, vivid yellow. Relative luminance 0.394; OKLCH L 72.7% C 0.149 H 111.8°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).
Color values
| HEX | #AAAF27 |
|---|---|
| RGB | rgb(170, 175, 39) |
| HSL | hsl(62, 64%, 42%) |
| HSV | hsv(62, 78%, 69%) |
| CMYK | cmyk(2.9%, 0%, 77.7%, 31.4%) |
| CIE-LAB | lab(69.01, -17.58, 63.45) |
| CIE-LCH | lch(69.01, 65.84, 105.49°) |
| OKLab | oklab(72.68% -0.0553 0.1385) |
| OKLCH | oklch(72.68% 0.149 111.8) |
| XYZ | xyz(32.2749, 39.3533, 7.8149) |
| Luminance | 0.3935 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.70
Vomit
#A2A415
ΔE00 3.22
Puke
#A5A502
ΔE00 3.30
Puke Green
#9AAE07
ΔE00 3.55
Snot
#ACBB0D
ΔE00 3.91
Pea Soup Green
#94A617
ΔE00 4.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AAAF27 #2C27AF
analogous
#AF7027 #AAAF27 #66AF27
triadic
#AAAF27 #27AAAF #AF27AA
tetradic
#AAAF27 #27AF70 #2C27AF #AF2766
square
#AAAF27 #27AF70 #2C27AF #AF2766
split-complementary
#AAAF27 #2766AF #7027AF
monochromatic
#494B11 #797D1C #AAAF27 #CFD43F #DBDF71
Accessibility & contrast
On white
2.37
#AAAF27 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.87
#AAAF27 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AAAF27
8.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AAAF27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AAAF27 | 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)
#BEAA33
Tritanopia (blue-blind)
#B6A496
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #aaaf27; /* rgb */ color: rgb(170, 175, 39); /* oklch */ color: oklch(72.7% 0.149 111.8);
Tailwind
colors: {
custom: {
50: '#c7c66d',
500: '#aaaf27',
950: '#000000',
},
}SCSS
$custom: #aaaf27; $custom-light: #c7c66d; $custom-dark: #000000;
JSON
{
"hex": "#aaaf27",
"rgb": {
"r": 170,
"g": 175,
"b": 39
},
"hsl": {
"h": 62.206,
"s": 63.551,
"l": 41.961
},
"oklch": {
"l": 0.72679,
"c": 0.14908,
"h": 111.8
},
"luminance": 0.39352
}Semantic roles & 50–950 ramp
primary
#AAAF27
secondary
#6F6BC6
accent
#41E747
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141308
muted
#82827A