#ABC12A#ABC12A
#ABC12A is a light, vivid yellow. Relative luminance 0.470; OKLCH L 76.8% C 0.167 H 118.0°. Best body text is #000000 at 10.39:1 contrast (WCAG AA passes).
Color values
| HEX | #ABC12A |
|---|---|
| RGB | rgb(171, 193, 42) |
| HSL | hsl(69, 64%, 46%) |
| HSV | hsv(69, 78%, 76%) |
| CMYK | cmyk(11.4%, 0%, 78.2%, 24.3%) |
| CIE-LAB | lab(74.17, -25.94, 67.24) |
| CIE-LCH | lch(74.17, 72.08, 111.10°) |
| OKLab | oklab(76.85% -0.0782 0.147) |
| OKLCH | oklch(76.85% 0.167 118) |
| XYZ | xyz(36.2833, 46.9654, 9.3439) |
| Luminance | 0.4697 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 1.25
Gross Green
#A0BF16
ΔE00 1.99
Snot
#ACBB0D
ΔE00 2.54
Snot Green
#9DC100
ΔE00 2.76
Bright Olive
#9CBB04
ΔE00 2.76
Sick Green
#9DB92C
ΔE00 3.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABC12A #402AC1
analogous
#C18B2A #ABC12A #5FC12A
triadic
#ABC12A #2AABC1 #C12AAB
tetradic
#ABC12A #2AC18B #402AC1 #C12A5F
square
#ABC12A #2AC18B #402AC1 #C12A5F
split-complementary
#ABC12A #2A5FC1 #8B2AC1
monochromatic
#525C14 #7E8F1F #ABC12A #C5D94F #D5E482
Accessibility & contrast
On white
2.02
#ABC12A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.39
#ABC12A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABC12A
10.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABC12A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABC12A | 1.00 | 2.02 | 10.39 | 10.39 |
| #FFFFFF | 2.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CEB600
Deuteranopia (green-blind)
#CCB739
Tritanopia (blue-blind)
#B6B6A5
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #abc12a; /* rgb */ color: rgb(171, 193, 42); /* oklch */ color: oklch(76.8% 0.167 118.0);
Tailwind
colors: {
custom: {
50: '#c8d371',
500: '#abc12a',
950: '#000000',
},
}SCSS
$custom: #abc12a; $custom-light: #c8d371; $custom-dark: #000000;
JSON
{
"hex": "#abc12a",
"rgb": {
"r": 171,
"g": 193,
"b": 42
},
"hsl": {
"h": 68.742,
"s": 64.255,
"l": 46.078
},
"oklch": {
"l": 0.76845,
"c": 0.16654,
"h": 118
},
"luminance": 0.46965
}Semantic roles & 50–950 ramp
primary
#ABC12A
secondary
#867ACD
accent
#41E759
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141408
muted
#82827B