#AAB838#AAB838
#AAB838 is a light, vivid yellow. Relative luminance 0.431; OKLCH L 74.8% C 0.149 H 115.5°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).
Color values
| HEX | #AAB838 |
|---|---|
| RGB | rgb(170, 184, 56) |
| HSL | hsl(67, 53%, 47%) |
| HSV | hsv(67, 70%, 72%) |
| CMYK | cmyk(7.6%, 0%, 69.6%, 27.8%) |
| CIE-LAB | lab(71.63, -21.29, 60.11) |
| CIE-LCH | lch(71.63, 63.77, 109.50°) |
| OKLab | oklab(74.81% -0.0641 0.1344) |
| OKLCH | oklch(74.81% 0.149 115.5) |
| XYZ | xyz(34.4327, 43.1131, 10.2484) |
| Luminance | 0.4311 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 2.94
Snot
#ACBB0D
ΔE00 3.10
Mustard Green
#A8B504
ΔE00 3.14
Pea
#A4BF20
ΔE00 3.30
Booger
#9BB53C
ΔE00 3.38
Gross Green
#A0BF16
ΔE00 3.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AAB838 #4638B8
analogous
#B88638 #AAB838 #6AB838
triadic
#AAB838 #38AAB8 #B838AA
tetradic
#AAB838 #38B886 #4638B8 #B8386A
square
#AAB838 #38B886 #4638B8 #B8386A
split-complementary
#AAB838 #386AB8 #8638B8
monochromatic
#535A1B #7F892A #AAB838 #C2CE5F #D4DD8E
Accessibility & contrast
On white
2.18
#AAB838 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.62
#AAB838 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AAB838
9.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AAB838 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AAB838 | 1.00 | 2.18 | 9.62 | 9.62 |
| #FFFFFF | 2.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5AF23
Deuteranopia (green-blind)
#C4B042
Tritanopia (blue-blind)
#B5AD9F
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #aab838; /* rgb */ color: rgb(170, 184, 56); /* oklch */ color: oklch(74.8% 0.149 115.5);
Tailwind
colors: {
custom: {
50: '#c6cd77',
500: '#aab838',
950: '#000000',
},
}SCSS
$custom: #aab838; $custom-light: #c6cd77; $custom-dark: #000000;
JSON
{
"hex": "#aab838",
"rgb": {
"r": 170,
"g": 184,
"b": 56
},
"hsl": {
"h": 66.563,
"s": 53.333,
"l": 47.059
},
"oklch": {
"l": 0.74814,
"c": 0.14888,
"h": 115.5
},
"luminance": 0.43113
}Semantic roles & 50–950 ramp
primary
#AAB838
secondary
#8C85C7
accent
#4BDD5B
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B