#9EC12D#9EC12D

#9EC12D is a light, vivid yellow-green. Relative luminance 0.456; OKLCH L 75.9% C 0.170 H 122.5°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#9EC12D
RGBrgb(158, 193, 45)
HSLhsl(74, 62%, 47%)
HSVhsv(74, 77%, 76%)
CMYKcmyk(18.1%, 0%, 76.7%, 24.3%)
CIE-LABlab(73.28, -31.15, 65.20)
CIE-LCHlch(73.28, 72.26, 115.54°)
OKLaboklab(75.91% -0.0916 0.1436)
OKLCHoklch(75.91% 0.17 122.5)
XYZxyz(33.6447, 45.5984, 9.5110)
Luminance0.4560 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EC12D #502DC1
analogous
#C19A2D #9EC12D #54C12D
triadic
#9EC12D #2D9EC1 #C12D9E
tetradic
#9EC12D #2DC19A #502DC1 #C12D54
square
#9EC12D #2DC19A #502DC1 #C12D54
split-complementary
#9EC12D #2D54C1 #9A2DC1
monochromatic
#4D5E16 #758F21 #9EC12D #B8D754 #CDE386

Accessibility & contrast

On white

2.08
#9EC12D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.12
#9EC12D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EC12D
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EC12D#FFFFFF#000000##000000
##9EC12D1.002.0810.1210.12
#FFFFFF2.081.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB502
Deuteranopia (green-blind)
#C8B43B
Tritanopia (blue-blind)
#A6B7A5
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #9ec12d;
/* rgb */ color: rgb(158, 193, 45);
/* oklch */ color: oklch(75.9% 0.170 122.5);
Tailwind
colors: {
  custom: {
    50: '#bed372',
    500: '#9ec12d',
    950: '#000000',
  },
}
SCSS
$custom: #9ec12d;
$custom-light: #bed372;
$custom-dark: #000000;
JSON
{
  "hex": "#9ec12d",
  "rgb": {
    "r": 158,
    "g": 193,
    "b": 45
  },
  "hsl": {
    "h": 74.189,
    "s": 62.185,
    "l": 46.667
  },
  "oklch": {
    "l": 0.7591,
    "c": 0.17033,
    "h": 122.5
  },
  "luminance": 0.45598
}

Semantic roles & 50–950 ramp

primary
#9EC12D
secondary
#907ECC
accent
#43E569
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131409
muted
#82827B

Preview Lab

Preview with #9EC12D

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

Preview Lab → · Contrast checker → · Palette generator →

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