#AAB238#AAB238
#AAB238 is a light, vivid yellow. Relative luminance 0.407; OKLCH L 73.5% C 0.142 H 113.1°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).
Color values
| HEX | #AAB238 |
|---|---|
| RGB | rgb(170, 178, 56) |
| HSL | hsl(64, 52%, 46%) |
| HSV | hsv(64, 69%, 70%) |
| CMYK | cmyk(4.5%, 0%, 68.5%, 30.2%) |
| CIE-LAB | lab(69.95, -18.28, 58.43) |
| CIE-LCH | lch(69.95, 61.22, 107.38°) |
| OKLab | oklab(73.46% -0.0557 0.1308) |
| OKLCH | oklch(73.46% 0.142 113.1) |
| XYZ | xyz(33.2127, 40.6731, 9.8417) |
| Luminance | 0.4067 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 3.35
Puke Green
#9AAE07
ΔE00 3.83
Snot
#ACBB0D
ΔE00 4.05
Booger
#9BB53C
ΔE00 4.25
Sick Green
#9DB92C
ΔE00 4.39
Vomit
#A2A415
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AAB238 #4038B2
analogous
#B27D38 #AAB238 #6DB238
triadic
#AAB238 #38AAB2 #B238AA
tetradic
#AAB238 #38B27D #4038B2 #B2386D
square
#AAB238 #38B27D #4038B2 #B2386D
split-complementary
#AAB238 #386DB2 #7D38B2
monochromatic
#51551B #7E8329 #AAB238 #C4CC5C #D5DA8A
Accessibility & contrast
On white
2.30
#AAB238 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.13
#AAB238 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AAB238
9.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AAB238 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AAB238 | 1.00 | 2.30 | 9.13 | 9.13 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFAA25
Deuteranopia (green-blind)
#BFAC41
Tritanopia (blue-blind)
#B5A79A
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #aab238; /* rgb */ color: rgb(170, 178, 56); /* oklch */ color: oklch(73.5% 0.142 113.1);
Tailwind
colors: {
custom: {
50: '#c6c876',
500: '#aab238',
950: '#000000',
},
}SCSS
$custom: #aab238; $custom-light: #c6c876; $custom-dark: #000000;
JSON
{
"hex": "#aab238",
"rgb": {
"r": 170,
"g": 178,
"b": 56
},
"hsl": {
"h": 63.934,
"s": 52.137,
"l": 45.882
},
"oklch": {
"l": 0.73463,
"c": 0.1422,
"h": 113.1
},
"luminance": 0.40672
}Semantic roles & 50–950 ramp
primary
#AAB238
secondary
#8681C5
accent
#4CDC56
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B