#AABA38#AABA38
#AABA38 is a light, vivid yellow. Relative luminance 0.439; OKLCH L 75.3% C 0.151 H 116.2°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).
Color values
| HEX | #AABA38 |
|---|---|
| RGB | rgb(170, 186, 56) |
| HSL | hsl(67, 54%, 47%) |
| HSV | hsv(67, 70%, 73%) |
| CMYK | cmyk(8.6%, 0%, 69.9%, 27.1%) |
| CIE-LAB | lab(72.19, -22.28, 60.67) |
| CIE-LCH | lch(72.19, 64.63, 110.16°) |
| OKLab | oklab(75.27% -0.0668 0.1356) |
| OKLCH | oklch(75.27% 0.151 116.2) |
| XYZ | xyz(34.8511, 43.9499, 10.3879) |
| Luminance | 0.4395 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 2.62
Pea
#A4BF20
ΔE00 2.79
Snot
#ACBB0D
ΔE00 3.01
Booger
#9BB53C
ΔE00 3.31
Mustard Green
#A8B504
ΔE00 3.32
Gross Green
#A0BF16
ΔE00 3.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AABA38 #4838BA
analogous
#BA8938 #AABA38 #69BA38
triadic
#AABA38 #38AABA #BA38AA
tetradic
#AABA38 #38BA89 #4838BA #BA3869
square
#AABA38 #38BA89 #4838BA #BA3869
split-complementary
#AABA38 #3869BA #8938BA
monochromatic
#545C1C #7F8B2A #AABA38 #C1CF60 #D4DD8F
Accessibility & contrast
On white
2.15
#AABA38 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.79
#AABA38 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AABA38
9.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AABA38 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AABA38 | 1.00 | 2.15 | 9.79 | 9.79 |
| #FFFFFF | 2.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B023
Deuteranopia (green-blind)
#C5B242
Tritanopia (blue-blind)
#B5AFA0
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #aaba38; /* rgb */ color: rgb(170, 186, 56); /* oklch */ color: oklch(75.3% 0.151 116.2);
Tailwind
colors: {
custom: {
50: '#c6ce77',
500: '#aaba38',
950: '#000000',
},
}SCSS
$custom: #aaba38; $custom-light: #c6ce77; $custom-dark: #000000;
JSON
{
"hex": "#aaba38",
"rgb": {
"r": 170,
"g": 186,
"b": 56
},
"hsl": {
"h": 67.385,
"s": 53.719,
"l": 47.451
},
"oklch": {
"l": 0.75266,
"c": 0.15114,
"h": 116.2
},
"luminance": 0.43949
}Semantic roles & 50–950 ramp
primary
#AABA38
secondary
#8E86C8
accent
#4BDD5D
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#131309
muted
#82827B