#AAB742#AAB742
#AAB742 is a light, vivid yellow. Relative luminance 0.428; OKLCH L 74.7% C 0.141 H 115.3°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).
Color values
| HEX | #AAB742 |
|---|---|
| RGB | rgb(170, 183, 66) |
| HSL | hsl(67, 47%, 49%) |
| HSV | hsv(67, 64%, 72%) |
| CMYK | cmyk(7.1%, 0%, 63.9%, 28.2%) |
| CIE-LAB | lab(71.42, -20.18, 55.92) |
| CIE-LCH | lch(71.42, 59.45, 109.84°) |
| OKLab | oklab(74.67% -0.06 0.1271) |
| OKLCH | oklch(74.67% 0.141 115.3) |
| XYZ | xyz(34.4952, 42.8069, 11.5986) |
| Luminance | 0.4281 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 3.12
Sick Green
#9DB92C
ΔE00 3.41
Mustard Green
#A8B504
ΔE00 4.18
Pea
#A4BF20
ΔE00 4.19
Snot
#ACBB0D
ΔE00 4.25
Puke Green
#9AAE07
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AAB742 #4F42B7
analogous
#B78A42 #AAB742 #70B742
triadic
#AAB742 #42AAB7 #B742AA
tetradic
#AAB742 #42B78A #4F42B7 #B74270
square
#AAB742 #42B78A #4F42B7 #B74270
split-complementary
#AAB742 #4270B7 #8A42B7
monochromatic
#565D22 #808A32 #AAB742 #C0CA6C #D3DA99
Accessibility & contrast
On white
2.20
#AAB742 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.56
#AAB742 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AAB742
9.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AAB742 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AAB742 | 1.00 | 2.20 | 9.56 | 9.56 |
| #FFFFFF | 2.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3AE33
Deuteranopia (green-blind)
#C3B04A
Tritanopia (blue-blind)
#B4AD9F
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #aab742; /* rgb */ color: rgb(170, 183, 66); /* oklch */ color: oklch(74.7% 0.141 115.3);
Tailwind
colors: {
custom: {
50: '#c6cc7c',
500: '#aab742',
950: '#000000',
},
}SCSS
$custom: #aab742; $custom-light: #c6cc7c; $custom-dark: #000000;
JSON
{
"hex": "#aab742",
"rgb": {
"r": 170,
"g": 183,
"b": 66
},
"hsl": {
"h": 66.667,
"s": 46.988,
"l": 48.824
},
"oklch": {
"l": 0.74671,
"c": 0.14055,
"h": 115.3
},
"luminance": 0.42806
}Semantic roles & 50–950 ramp
primary
#AAB742
secondary
#958FC6
accent
#51D760
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C