#9DC42F#9DC42F

#9DC42F is a light, vivid yellow-green. Relative luminance 0.469; OKLCH L 76.6% C 0.173 H 123.7°. Best body text is #000000 at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#9DC42F
RGBrgb(157, 196, 47)
HSLhsl(76, 61%, 48%)
HSVhsv(76, 76%, 77%)
CMYKcmyk(19.9%, 0%, 76%, 23.1%)
CIE-LABlab(74.10, -32.86, 65.30)
CIE-LCHlch(74.10, 73.11, 116.71°)
OKLaboklab(76.55% -0.096 0.1442)
OKLCHoklch(76.55% 0.173 123.7)
XYZxyz(34.1580, 46.8529, 9.9327)
Luminance0.4685 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DC42F #562FC4
analogous
#C4A12F #9DC42F #52C42F
triadic
#9DC42F #2F9DC4 #C42F9D
tetradic
#9DC42F #2FC4A1 #562FC4 #C42F52
square
#9DC42F #2FC4A1 #562FC4 #C42F52
split-complementary
#9DC42F #2F52C4 #A12FC4
monochromatic
#4E6117 #759323 #9DC42F #B6D759 #CCE38A

Accessibility & contrast

On white

2.02
#9DC42F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.37
#9DC42F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DC42F
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DC42F#FFFFFF#000000##000000
##9DC42F1.002.0210.3710.37
#FFFFFF2.021.0021.0021.00
#00000010.3721.001.001.00
##00000010.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB707
Deuteranopia (green-blind)
#CAB63D
Tritanopia (blue-blind)
#A5BAA8
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #9dc42f;
/* rgb */ color: rgb(157, 196, 47);
/* oklch */ color: oklch(76.6% 0.173 123.7);
Tailwind
colors: {
  custom: {
    50: '#bed673',
    500: '#9dc42f',
    950: '#000000',
  },
}
SCSS
$custom: #9dc42f;
$custom-light: #bed673;
$custom-dark: #000000;
JSON
{
  "hex": "#9dc42f",
  "rgb": {
    "r": 157,
    "g": 196,
    "b": 47
  },
  "hsl": {
    "h": 75.705,
    "s": 61.317,
    "l": 47.647
  },
  "oklch": {
    "l": 0.76552,
    "c": 0.17325,
    "h": 123.7
  },
  "luminance": 0.46853
}

Semantic roles & 50–950 ramp

primary
#9DC42F
secondary
#9582CD
accent
#43E46E
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131409
muted
#82837B

Preview Lab

Preview with #9DC42F

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

Preview Lab → · Contrast checker → · Palette generator →

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