#ABBA2C#ABBA2C
#ABBA2C is a light, vivid yellow. Relative luminance 0.440; OKLCH L 75.3% C 0.158 H 115.7°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).
Color values
| HEX | #ABBA2C |
|---|---|
| RGB | rgb(171, 186, 44) |
| HSL | hsl(66, 62%, 45%) |
| HSV | hsv(66, 76%, 73%) |
| CMYK | cmyk(8.1%, 0%, 76.3%, 27.1%) |
| CIE-LAB | lab(72.20, -22.45, 64.84) |
| CIE-LCH | lch(72.20, 68.62, 109.09°) |
| OKLab | oklab(75.27% -0.0684 0.1423) |
| OKLCH | oklch(75.27% 0.158 115.7) |
| XYZ | xyz(34.8091, 43.9581, 9.0334) |
| Luminance | 0.4396 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 1.83
Mustard Green
#A8B504
ΔE00 2.29
Pea
#A4BF20
ΔE00 2.55
Sick Green
#9DB92C
ΔE00 3.03
Gross Green
#A0BF16
ΔE00 3.24
Bright Olive
#9CBB04
ΔE00 3.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABBA2C #3B2CBA
analogous
#BA822C #ABBA2C #64BA2C
triadic
#ABBA2C #2CABBA #BA2CAB
tetradic
#ABBA2C #2CBA82 #3B2CBA #BA2C64
square
#ABBA2C #2CBA82 #3B2CBA #BA2C64
split-complementary
#ABBA2C #2C64BA #822CBA
monochromatic
#505715 #7D8920 #ABBA2C #C7D54E #D7E180
Accessibility & contrast
On white
2.14
#ABBA2C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.79
#ABBA2C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABBA2C
9.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABBA2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABBA2C | 1.00 | 2.14 | 9.79 | 9.79 |
| #FFFFFF | 2.14 | 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)
#C7B004
Deuteranopia (green-blind)
#C6B239
Tritanopia (blue-blind)
#B6AF9F
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #abba2c; /* rgb */ color: rgb(171, 186, 44); /* oklch */ color: oklch(75.3% 0.158 115.7);
Tailwind
colors: {
custom: {
50: '#c8ce71',
500: '#abba2c',
950: '#000000',
},
}SCSS
$custom: #abba2c; $custom-light: #c8ce71; $custom-dark: #000000;
JSON
{
"hex": "#abba2c",
"rgb": {
"r": 171,
"g": 186,
"b": 44
},
"hsl": {
"h": 66.338,
"s": 61.739,
"l": 45.098
},
"oklch": {
"l": 0.75267,
"c": 0.15787,
"h": 115.7
},
"luminance": 0.43958
}Semantic roles & 50–950 ramp
primary
#ABBA2C
secondary
#8178CA
accent
#43E554
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141308
muted
#82827B