#9DC842#9DC842

#9DC842 is a light, vivid yellow-green. Relative luminance 0.489; OKLCH L 77.6% C 0.166 H 125.5°. Best body text is #000000 at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#9DC842
RGBrgb(157, 200, 66)
HSLhsl(79, 55%, 52%)
HSVhsv(79, 67%, 78%)
CMYKcmyk(21.5%, 0%, 67%, 21.6%)
CIE-LABlab(75.37, -33.61, 59.78)
CIE-LCHlch(75.37, 68.58, 119.35°)
OKLaboklab(77.62% -0.0965 0.1355)
OKLCHoklch(77.62% 0.166 125.5)
XYZxyz(35.5425, 48.8696, 12.7134)
Luminance0.4887 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DC842 #6D42C8
analogous
#C8B042 #9DC842 #5AC842
triadic
#9DC842 #429DC8 #C8429D
tetradic
#9DC842 #42C8B0 #6D42C8 #C8425A
square
#9DC842 #42C8B0 #6D42C8 #C8425A
split-complementary
#9DC842 #425AC8 #B042C8
monochromatic
#566F20 #7B9F2E #9DC842 #B6D671 #CEE4A1

Accessibility & contrast

On white

1.95
#9DC842 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.77
#9DC842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DC842
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DC842#FFFFFF#000000##000000
##9DC8421.001.9510.7710.77
#FFFFFF1.951.0021.0021.00
#00000010.7721.001.001.00
##00000010.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB2F
Deuteranopia (green-blind)
#CDB94D
Tritanopia (blue-blind)
#A4BFAD
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #9dc842;
/* rgb */ color: rgb(157, 200, 66);
/* oklch */ color: oklch(77.6% 0.166 125.5);
Tailwind
colors: {
  custom: {
    50: '#bdd97d',
    500: '#9dc842',
    950: '#000000',
  },
}
SCSS
$custom: #9dc842;
$custom-light: #bdd97d;
$custom-dark: #000000;
JSON
{
  "hex": "#9dc842",
  "rgb": {
    "r": 157,
    "g": 200,
    "b": 66
  },
  "hsl": {
    "h": 79.254,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.77621,
    "c": 0.16638,
    "h": 125.5
  },
  "luminance": 0.4887
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9DC842

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

Preview Lab → · Contrast checker → · Palette generator →

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