#9EC12E#9EC12E

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

Color values

HEX#9EC12E
RGBrgb(158, 193, 46)
HSLhsl(74, 62%, 47%)
HSVhsv(74, 76%, 76%)
CMYKcmyk(18.1%, 0%, 76.2%, 24.3%)
CIE-LABlab(73.29, -31.10, 64.89)
CIE-LCHlch(73.29, 71.96, 115.61°)
OKLaboklab(75.91% -0.0914 0.1431)
OKLCHoklch(75.91% 0.17 122.6)
XYZxyz(33.6641, 45.6062, 9.6136)
Luminance0.4561 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EC12E #512EC1
analogous
#C19B2E #9EC12E #54C12E
triadic
#9EC12E #2E9EC1 #C12E9E
tetradic
#9EC12E #2EC19B #512EC1 #C12E54
square
#9EC12E #2EC19B #512EC1 #C12E54
split-complementary
#9EC12E #2E54C1 #9B2EC1
monochromatic
#4D5E16 #769022 #9EC12E #B8D756 #CDE287

Accessibility & contrast

On white

2.07
#9EC12E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9EC12E#FFFFFF#000000##000000
##9EC12E1.002.0710.1210.12
#FFFFFF2.071.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9ec12e;
/* rgb */ color: rgb(158, 193, 46);
/* oklch */ color: oklch(75.9% 0.170 122.6);
Tailwind
colors: {
  custom: {
    50: '#bed372',
    500: '#9ec12e',
    950: '#000000',
  },
}
SCSS
$custom: #9ec12e;
$custom-light: #bed372;
$custom-dark: #000000;
JSON
{
  "hex": "#9ec12e",
  "rgb": {
    "r": 158,
    "g": 193,
    "b": 46
  },
  "hsl": {
    "h": 74.286,
    "s": 61.506,
    "l": 46.863
  },
  "oklch": {
    "l": 0.75915,
    "c": 0.1698,
    "h": 122.6
  },
  "luminance": 0.45606
}

Semantic roles & 50–950 ramp

primary
#9EC12E
secondary
#917FCC
accent
#43E56A
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131409
muted
#82827B

Preview Lab

Preview with #9EC12E

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

Preview Lab → · Contrast checker → · Palette generator →

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