#AAB945#AAB945
#AAB945 is a light, vivid yellow. Relative luminance 0.437; OKLCH L 75.1% C 0.141 H 116.1°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).
Color values
| HEX | #AAB945 |
|---|---|
| RGB | rgb(170, 185, 69) |
| HSL | hsl(68, 46%, 50%) |
| HSV | hsv(68, 63%, 73%) |
| CMYK | cmyk(8.1%, 0%, 62.7%, 27.5%) |
| CIE-LAB | lab(72.01, -20.97, 55.28) |
| CIE-LCH | lch(72.01, 59.12, 110.77°) |
| OKLab | oklab(75.15% -0.0619 0.1262) |
| OKLCH | oklch(75.15% 0.141 116.1) |
| XYZ | xyz(35.0014, 43.6741, 12.2152) |
| Luminance | 0.4367 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 2.92
Sick Green
#9DB92C
ΔE00 3.22
Pea
#A4BF20
ΔE00 3.99
Light Olive Green
#A4BE5C
ΔE00 4.23
Snot
#ACBB0D
ΔE00 4.47
Mustard Green
#A8B504
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AAB945 #5445B9
analogous
#B98E45 #AAB945 #70B945
triadic
#AAB945 #45AAB9 #B945AA
tetradic
#AAB945 #45B98E #5445B9 #B94570
square
#AAB945 #45B98E #5445B9 #B94570
split-complementary
#AAB945 #4570B9 #8E45B9
monochromatic
#586024 #818C34 #AAB945 #BFCA71 #D3DB9E
Accessibility & contrast
On white
2.16
#AAB945 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.73
#AAB945 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AAB945
9.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AAB945 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AAB945 | 1.00 | 2.16 | 9.73 | 9.73 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5B037
Deuteranopia (green-blind)
#C4B14D
Tritanopia (blue-blind)
#B4AFA1
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #aab945; /* rgb */ color: rgb(170, 185, 69); /* oklch */ color: oklch(75.1% 0.141 116.1);
Tailwind
colors: {
custom: {
50: '#c6ce7e',
500: '#aab945',
950: '#000000',
},
}SCSS
$custom: #aab945; $custom-light: #c6ce7e; $custom-dark: #000000;
JSON
{
"hex": "#aab945",
"rgb": {
"r": 170,
"g": 185,
"b": 69
},
"hsl": {
"h": 67.759,
"s": 45.669,
"l": 49.804
},
"oklch": {
"l": 0.75149,
"c": 0.14054,
"h": 116.1
},
"luminance": 0.43674
}Semantic roles & 50–950 ramp
primary
#AAB945
secondary
#9993C7
accent
#52D563
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#13130A
muted
#82827C