#ABC342#ABC342

#ABC342 is a light, vivid yellow-green. Relative luminance 0.481; OKLCH L 77.5% C 0.154 H 119.2°. Best body text is #000000 at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#ABC342
RGBrgb(171, 195, 66)
HSLhsl(71, 52%, 51%)
HSVhsv(71, 66%, 76%)
CMYKcmyk(12.3%, 0%, 66.2%, 23.5%)
CIE-LABlab(74.88, -25.66, 59.56)
CIE-LCHlch(74.88, 64.85, 113.31°)
OKLaboklab(77.46% -0.0754 0.1347)
OKLCHoklch(77.46% 0.154 119.2)
XYZxyz(37.2937, 48.0817, 12.4692)
Luminance0.4808 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABC342 #5A42C3
analogous
#C39A42 #ABC342 #6AC342
triadic
#ABC342 #42ABC3 #C342AB
tetradic
#ABC342 #42C39A #5A42C3 #C3426A
square
#ABC342 #42C39A #5A42C3 #C3426A
split-complementary
#ABC342 #426AC3 #9A42C3
monochromatic
#5C6921 #849830 #ABC342 #C0D270 #D4E09F

Accessibility & contrast

On white

1.98
#ABC342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.62
#ABC342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABC342
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABC342#FFFFFF#000000##000000
##ABC3421.001.9810.6210.62
#FFFFFF1.981.0021.0021.00
#00000010.6221.001.001.00
##00000010.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB830
Deuteranopia (green-blind)
#CCB94C
Tritanopia (blue-blind)
#B5B9A9
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #abc342;
/* rgb */ color: rgb(171, 195, 66);
/* oklch */ color: oklch(77.5% 0.154 119.2);
Tailwind
colors: {
  custom: {
    50: '#c7d57d',
    500: '#abc342',
    950: '#000000',
  },
}
SCSS
$custom: #abc342;
$custom-light: #c7d57d;
$custom-dark: #000000;
JSON
{
  "hex": "#abc342",
  "rgb": {
    "r": 171,
    "g": 195,
    "b": 66
  },
  "hsl": {
    "h": 71.163,
    "s": 51.807,
    "l": 51.176
  },
  "oklch": {
    "l": 0.77461,
    "c": 0.15438,
    "h": 119.2
  },
  "luminance": 0.48081
}

Semantic roles & 50–950 ramp

primary
#ABC342
secondary
#9F94CD
accent
#4DDB67
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#13140A
muted
#82837C

Preview Lab

Preview with #ABC342

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

Preview Lab → · Contrast checker → · Palette generator →

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