#9EC42F#9EC42F

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

Color values

HEX#9EC42F
RGBrgb(158, 196, 47)
HSLhsl(75, 61%, 48%)
HSVhsv(75, 76%, 77%)
CMYKcmyk(19.4%, 0%, 76%, 23.1%)
CIE-LABlab(74.16, -32.46, 65.39)
CIE-LCHlch(74.16, 73.00, 116.40°)
OKLaboklab(76.62% -0.095 0.1443)
OKLCHoklch(76.62% 0.173 123.4)
XYZxyz(34.3540, 46.9540, 9.9419)
Luminance0.4695 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EC42F #552FC4
analogous
#C49F2F #9EC42F #53C42F
triadic
#9EC42F #2F9EC4 #C42F9E
tetradic
#9EC42F #2FC49F #552FC4 #C42F53
square
#9EC42F #2FC49F #552FC4 #C42F53
split-complementary
#9EC42F #2F53C4 #9F2FC4
monochromatic
#4E6117 #769323 #9EC42F #B7D759 #CCE38A

Accessibility & contrast

On white

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

On black

10.39
#9EC42F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EC42F
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EC42F#FFFFFF#000000##000000
##9EC42F1.002.0210.3910.39
#FFFFFF2.021.0021.0021.00
#00000010.3921.001.001.00
##00000010.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9ec42f;
/* rgb */ color: rgb(158, 196, 47);
/* oklch */ color: oklch(76.6% 0.173 123.4);
Tailwind
colors: {
  custom: {
    50: '#bfd673',
    500: '#9ec42f',
    950: '#000000',
  },
}
SCSS
$custom: #9ec42f;
$custom-light: #bfd673;
$custom-dark: #000000;
JSON
{
  "hex": "#9ec42f",
  "rgb": {
    "r": 158,
    "g": 196,
    "b": 47
  },
  "hsl": {
    "h": 75.302,
    "s": 61.317,
    "l": 47.647
  },
  "oklch": {
    "l": 0.76621,
    "c": 0.1728,
    "h": 123.4
  },
  "luminance": 0.46954
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9EC42F

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

Preview Lab → · Contrast checker → · Palette generator →

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