#AAB831#AAB831
#AAB831 is a light, vivid yellow. Relative luminance 0.430; OKLCH L 74.8% C 0.153 H 115.4°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).
Color values
| HEX | #AAB831 |
|---|---|
| RGB | rgb(170, 184, 49) |
| HSL | hsl(66, 58%, 46%) |
| HSV | hsv(66, 73%, 72%) |
| CMYK | cmyk(7.6%, 0%, 73.4%, 27.8%) |
| CIE-LAB | lab(71.59, -21.65, 62.59) |
| CIE-LCH | lch(71.59, 66.23, 109.08°) |
| OKLab | oklab(74.77% -0.0657 0.1384) |
| OKLCH | oklch(74.77% 0.153 115.4) |
| XYZ | xyz(34.2734, 43.0493, 9.4090) |
| Luminance | 0.4305 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.45
Mustard Green
#A8B504
ΔE00 2.49
Sick Green
#9DB92C
ΔE00 2.98
Pea
#A4BF20
ΔE00 3.03
Bright Olive
#9CBB04
ΔE00 3.64
Puke Green
#9AAE07
ΔE00 3.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AAB831 #3F31B8
analogous
#B88231 #AAB831 #66B831
triadic
#AAB831 #31AAB8 #B831AA
tetradic
#AAB831 #31B882 #3F31B8 #B83166
square
#AAB831 #31B882 #3F31B8 #B83166
split-complementary
#AAB831 #3166B8 #8231B8
monochromatic
#515717 #7D8824 #AAB831 #C5D255 #D5DE85
Accessibility & contrast
On white
2.19
#AAB831 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.61
#AAB831 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AAB831
9.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AAB831 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AAB831 | 1.00 | 2.19 | 9.61 | 9.61 |
| #FFFFFF | 2.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5AE15
Deuteranopia (green-blind)
#C4B03C
Tritanopia (blue-blind)
#B5AD9E
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #aab831; /* rgb */ color: rgb(170, 184, 49); /* oklch */ color: oklch(74.8% 0.153 115.4);
Tailwind
colors: {
custom: {
50: '#c7cd73',
500: '#aab831',
950: '#000000',
},
}SCSS
$custom: #aab831; $custom-light: #c7cd73; $custom-dark: #000000;
JSON
{
"hex": "#aab831",
"rgb": {
"r": 170,
"g": 184,
"b": 49
},
"hsl": {
"h": 66.222,
"s": 57.94,
"l": 45.686
},
"oklch": {
"l": 0.74765,
"c": 0.15324,
"h": 115.4
},
"luminance": 0.43049
}Semantic roles & 50–950 ramp
primary
#AAB831
secondary
#857DC8
accent
#47E157
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131309
muted
#82827B