#ABAA2B#ABAA2B
#ABAA2B is a light, vivid yellow. Relative luminance 0.376; OKLCH L 71.7% C 0.142 H 109.0°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).
Color values
| HEX | #ABAA2B |
|---|---|
| RGB | rgb(171, 170, 43) |
| HSL | hsl(60, 60%, 42%) |
| HSV | hsv(60, 75%, 67%) |
| CMYK | cmyk(0%, 0.6%, 74.9%, 32.9%) |
| CIE-LAB | lab(67.71, -14.42, 61.01) |
| CIE-LCH | lch(67.71, 62.69, 103.30°) |
| OKLab | oklab(71.67% -0.0462 0.134) |
| OKLCH | oklch(71.67% 0.142 109) |
| XYZ | xyz(31.6065, 37.5828, 7.8743) |
| Luminance | 0.3758 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.30
Puke
#A5A502
ΔE00 2.42
Mustard Green
#A8B504
ΔE00 4.49
Puke Green
#9AAE07
ΔE00 4.93
Pea Soup Green
#94A617
ΔE00 5.05
Snot
#ACBB0D
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABAA2B #2B2CAB
analogous
#AB6A2B #ABAA2B #6CAB2B
triadic
#ABAA2B #2BABAA #AA2BAB
tetradic
#ABAA2B #2BAB6A #2B2CAB #AB2B6C
square
#ABAA2B #2BAB6A #2B2CAB #AB2B6C
split-complementary
#ABAA2B #2B6CAB #6A2BAB
monochromatic
#494912 #7A791F #ABAA2B #D0CF43 #DCDB74
Accessibility & contrast
On white
2.47
#ABAA2B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.52
#ABAA2B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABAA2B
8.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABAA2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABAA2B | 1.00 | 2.47 | 8.52 | 8.52 |
| #FFFFFF | 2.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A30E
Deuteranopia (green-blind)
#BAA735
Tritanopia (blue-blind)
#B79F92
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #abaa2b; /* rgb */ color: rgb(171, 170, 43); /* oklch */ color: oklch(71.7% 0.142 109.0);
Tailwind
colors: {
custom: {
50: '#c8c36f',
500: '#abaa2b',
950: '#000000',
},
}SCSS
$custom: #abaa2b; $custom-light: #c8c36f; $custom-dark: #000000;
JSON
{
"hex": "#abaa2b",
"rgb": {
"r": 171,
"g": 170,
"b": 43
},
"hsl": {
"h": 59.531,
"s": 59.813,
"l": 41.961
},
"oklch": {
"l": 0.71671,
"c": 0.14171,
"h": 109
},
"luminance": 0.37582
}Semantic roles & 50–950 ramp
primary
#ABAA2B
secondary
#6E6FC4
accent
#46E345
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141208
muted
#82817B