#ABC142#ABC142

#ABC142 is a light, vivid yellow-green. Relative luminance 0.472; OKLCH L 77.0% C 0.152 H 118.6°. Best body text is #000000 at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#ABC142
RGBrgb(171, 193, 66)
HSLhsl(70, 51%, 51%)
HSVhsv(70, 66%, 76%)
CMYKcmyk(11.4%, 0%, 65.8%, 24.3%)
CIE-LABlab(74.31, -24.69, 58.97)
CIE-LCHlch(74.31, 63.93, 112.72°)
OKLaboklab(77.01% -0.0727 0.1335)
OKLCHoklch(77.01% 0.152 118.6)
XYZxyz(36.8486, 47.1915, 12.3209)
Luminance0.4719 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABC142 #5842C1
analogous
#C19842 #ABC142 #6BC142
triadic
#ABC142 #42ABC1 #C142AB
tetradic
#ABC142 #42C198 #5842C1 #C1426B
square
#ABC142 #42C198 #5842C1 #C1426B
split-complementary
#ABC142 #426BC1 #9842C1
monochromatic
#5B6722 #849531 #ABC142 #BFD070 #D4DF9E

Accessibility & contrast

On white

2.01
#ABC142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.44
#ABC142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABC142
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABC142#FFFFFF#000000##000000
##ABC1421.002.0110.4410.44
#FFFFFF2.011.0021.0021.00
#00000010.4421.001.001.00
##00000010.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB730
Deuteranopia (green-blind)
#CBB74B
Tritanopia (blue-blind)
#B5B7A7
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #abc142;
/* rgb */ color: rgb(171, 193, 66);
/* oklch */ color: oklch(77.0% 0.152 118.6);
Tailwind
colors: {
  custom: {
    50: '#c7d37d',
    500: '#abc142',
    950: '#000000',
  },
}
SCSS
$custom: #abc142;
$custom-light: #c7d37d;
$custom-dark: #000000;
JSON
{
  "hex": "#abc142",
  "rgb": {
    "r": 171,
    "g": 193,
    "b": 66
  },
  "hsl": {
    "h": 70.394,
    "s": 50.598,
    "l": 50.784
  },
  "oklch": {
    "l": 0.77008,
    "c": 0.152,
    "h": 118.6
  },
  "luminance": 0.47191
}

Semantic roles & 50–950 ramp

primary
#ABC142
secondary
#9D93CC
accent
#4EDA66
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#13140A
muted
#82827C

Preview Lab

Preview with #ABC142

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#ABC142 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva