#9DC742#9DC742

#9DC742 is a light, vivid yellow-green. Relative luminance 0.484; OKLCH L 77.4% C 0.165 H 125.2°. Best body text is #000000 at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#9DC742
RGBrgb(157, 199, 66)
HSLhsl(79, 54%, 52%)
HSVhsv(79, 67%, 78%)
CMYKcmyk(21.1%, 0%, 66.8%, 22%)
CIE-LABlab(75.08, -33.15, 59.48)
CIE-LCHlch(75.08, 68.10, 119.13°)
OKLaboklab(77.39% -0.0953 0.1349)
OKLCHoklch(77.39% 0.165 125.2)
XYZxyz(35.3116, 48.4079, 12.6365)
Luminance0.4841 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DC742 #6C42C7
analogous
#C7AE42 #9DC742 #5BC742
triadic
#9DC742 #429DC7 #C7429D
tetradic
#9DC742 #42C7AE #6C42C7 #C7425B
square
#9DC742 #42C7AE #6C42C7 #C7425B
split-complementary
#9DC742 #425BC7 #AE42C7
monochromatic
#566E21 #7A9D2F #9DC742 #B5D571 #CEE3A0

Accessibility & contrast

On white

1.97
#9DC742 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.68
#9DC742 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DC742
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DC742#FFFFFF#000000##000000
##9DC7421.001.9710.6810.68
#FFFFFF1.971.0021.0021.00
#00000010.6821.001.001.00
##00000010.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA2F
Deuteranopia (green-blind)
#CCB84D
Tritanopia (blue-blind)
#A4BEAC
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #9dc742;
/* rgb */ color: rgb(157, 199, 66);
/* oklch */ color: oklch(77.4% 0.165 125.2);
Tailwind
colors: {
  custom: {
    50: '#bdd87d',
    500: '#9dc742',
    950: '#000000',
  },
}
SCSS
$custom: #9dc742;
$custom-light: #bdd87d;
$custom-dark: #000000;
JSON
{
  "hex": "#9dc742",
  "rgb": {
    "r": 157,
    "g": 199,
    "b": 66
  },
  "hsl": {
    "h": 78.947,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.77388,
    "c": 0.16513,
    "h": 125.2
  },
  "luminance": 0.48408
}

Semantic roles & 50–950 ramp

primary
#9DC742
secondary
#A895D0
accent
#4ADE79
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#12140A
muted
#81837C

Preview Lab

Preview with #9DC742

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

Preview Lab → · Contrast checker → · Palette generator →

#9DC742 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva