#AAB840#AAB840
#AAB840 is a light, vivid yellow. Relative luminance 0.432; OKLCH L 74.9% C 0.143 H 115.6°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).
Color values
| HEX | #AAB840 |
|---|---|
| RGB | rgb(170, 184, 64) |
| HSL | hsl(67, 48%, 49%) |
| HSV | hsv(67, 65%, 72%) |
| CMYK | cmyk(7.6%, 0%, 65.2%, 27.8%) |
| CIE-LAB | lab(71.69, -20.81, 57.03) |
| CIE-LCH | lch(71.69, 60.70, 110.04°) |
| OKLab | oklab(74.88% -0.062 0.1291) |
| OKLCH | oklch(74.88% 0.143 115.6) |
| XYZ | xyz(34.6443, 43.1977, 11.3625) |
| Luminance | 0.4320 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 3.07
Sick Green
#9DB92C
ΔE00 3.12
Pea
#A4BF20
ΔE00 3.80
Snot
#ACBB0D
ΔE00 3.95
Mustard Green
#A8B504
ΔE00 3.98
Gross Green
#A0BF16
ΔE00 4.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AAB840 #4E40B8
analogous
#B88A40 #AAB840 #6EB840
triadic
#AAB840 #40AAB8 #B840AA
tetradic
#AAB840 #40B88A #4E40B8 #B8406E
square
#AAB840 #40B88A #4E40B8 #B8406E
split-complementary
#AAB840 #406EB8 #8A40B8
monochromatic
#565D20 #808B30 #AAB840 #C0CB6A #D3DB97
Accessibility & contrast
On white
2.18
#AAB840 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.64
#AAB840 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AAB840
9.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AAB840 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AAB840 | 1.00 | 2.18 | 9.64 | 9.64 |
| #FFFFFF | 2.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5AF30
Deuteranopia (green-blind)
#C3B148
Tritanopia (blue-blind)
#B4AE9F
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #aab840; /* rgb */ color: rgb(170, 184, 64); /* oklch */ color: oklch(74.9% 0.143 115.6);
Tailwind
colors: {
custom: {
50: '#c6cd7b',
500: '#aab840',
950: '#000000',
},
}SCSS
$custom: #aab840; $custom-light: #c6cd7b; $custom-dark: #000000;
JSON
{
"hex": "#aab840",
"rgb": {
"r": 170,
"g": 184,
"b": 64
},
"hsl": {
"h": 67,
"s": 48.387,
"l": 48.627
},
"oklch": {
"l": 0.74878,
"c": 0.14323,
"h": 115.6
},
"luminance": 0.43197
}Semantic roles & 50–950 ramp
primary
#AAB840
secondary
#948DC7
accent
#50D860
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C