#ABC742#ABC742

#ABC742 is a light, vivid yellow-green. Relative luminance 0.499; OKLCH L 78.4% C 0.159 H 120.5°. Best body text is #000000 at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#ABC742
RGBrgb(171, 199, 66)
HSLhsl(73, 54%, 52%)
HSVhsv(73, 67%, 78%)
CMYKcmyk(14.1%, 0%, 66.8%, 22%)
CIE-LABlab(76.01, -27.59, 60.73)
CIE-LCHlch(76.01, 66.70, 114.43°)
OKLaboklab(78.37% -0.0807 0.1372)
OKLCHoklch(78.37% 0.159 120.5)
XYZxyz(38.2020, 49.8982, 12.7720)
Luminance0.4990 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABC742 #5E42C7
analogous
#C7A142 #ABC742 #68C742
triadic
#ABC742 #42ABC7 #C742AB
tetradic
#ABC742 #42C7A1 #5E42C7 #C74268
square
#ABC742 #42C7A1 #5E42C7 #C74268
split-complementary
#ABC742 #4268C7 #A142C7
monochromatic
#5E6E21 #869D2F #ABC742 #C0D571 #D5E3A0

Accessibility & contrast

On white

1.91
#ABC742 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.98
#ABC742 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABC742
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABC742#FFFFFF#000000##000000
##ABC7421.001.9110.9810.98
#FFFFFF1.911.0021.0021.00
#00000010.9821.001.001.00
##00000010.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC2F
Deuteranopia (green-blind)
#D0BC4C
Tritanopia (blue-blind)
#B4BDAC
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #abc742;
/* rgb */ color: rgb(171, 199, 66);
/* oklch */ color: oklch(78.4% 0.159 120.5);
Tailwind
colors: {
  custom: {
    50: '#c7d87d',
    500: '#abc742',
    950: '#000000',
  },
}
SCSS
$custom: #abc742;
$custom-light: #c7d87d;
$custom-dark: #000000;
JSON
{
  "hex": "#abc742",
  "rgb": {
    "r": 171,
    "g": 199,
    "b": 66
  },
  "hsl": {
    "h": 72.632,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.78371,
    "c": 0.15917,
    "h": 120.5
  },
  "luminance": 0.49898
}

Semantic roles & 50–950 ramp

primary
#ABC742
secondary
#A295D0
accent
#4ADE69
background
#FCFDF7
surface
#F9FAEE
border
#D2D3C9
text
#13140A
muted
#82837C

Preview Lab

Preview with #ABC742

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

Preview Lab → · Contrast checker → · Palette generator →

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