#ABBA2A#ABBA2A
#ABBA2A is a light, vivid yellow. Relative luminance 0.439; OKLCH L 75.3% C 0.159 H 115.7°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).
Color values
| HEX | #ABBA2A |
|---|---|
| RGB | rgb(171, 186, 42) |
| HSL | hsl(66, 63%, 45%) |
| HSV | hsv(66, 77%, 73%) |
| CMYK | cmyk(8.1%, 0%, 77.4%, 27.1%) |
| CIE-LAB | lab(72.19, -22.53, 65.45) |
| CIE-LCH | lch(72.19, 69.22, 108.99°) |
| OKLab | oklab(75.26% -0.0688 0.1432) |
| OKLCH | oklch(75.26% 0.159 115.7) |
| XYZ | xyz(34.7724, 43.9435, 8.8402) |
| Luminance | 0.4394 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 1.67
Mustard Green
#A8B504
ΔE00 2.16
Pea
#A4BF20
ΔE00 2.53
Sick Green
#9DB92C
ΔE00 3.09
Gross Green
#A0BF16
ΔE00 3.21
Bright Olive
#9CBB04
ΔE00 3.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABBA2A #392ABA
analogous
#BA812A #ABBA2A #63BA2A
triadic
#ABBA2A #2AABBA #BA2AAB
tetradic
#ABBA2A #2ABA81 #392ABA #BA2A63
square
#ABBA2A #2ABA81 #392ABA #BA2A63
split-complementary
#ABBA2A #2A63BA #812ABA
monochromatic
#4F5613 #7D881F #ABBA2A #C8D64B #D7E27D
Accessibility & contrast
On white
2.15
#ABBA2A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.79
#ABBA2A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABBA2A
9.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABBA2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABBA2A | 1.00 | 2.15 | 9.79 | 9.79 |
| #FFFFFF | 2.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B000
Deuteranopia (green-blind)
#C6B237
Tritanopia (blue-blind)
#B6AF9F
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #abba2a; /* rgb */ color: rgb(171, 186, 42); /* oklch */ color: oklch(75.3% 0.159 115.7);
Tailwind
colors: {
custom: {
50: '#c8ce70',
500: '#abba2a',
950: '#000000',
},
}SCSS
$custom: #abba2a; $custom-light: #c8ce70; $custom-dark: #000000;
JSON
{
"hex": "#abba2a",
"rgb": {
"r": 171,
"g": 186,
"b": 42
},
"hsl": {
"h": 66.25,
"s": 63.158,
"l": 44.706
},
"oklch": {
"l": 0.75256,
"c": 0.15889,
"h": 115.7
},
"luminance": 0.43943
}Semantic roles & 50–950 ramp
primary
#ABBA2A
secondary
#7F76CA
accent
#42E653
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141308
muted
#82827B