#9EC12A#9EC12A

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

Color values

HEX#9EC12A
RGBrgb(158, 193, 42)
HSLhsl(74, 64%, 46%)
HSVhsv(74, 78%, 76%)
CMYKcmyk(18.1%, 0%, 78.2%, 24.3%)
CIE-LABlab(73.27, -31.28, 66.10)
CIE-LCHlch(73.27, 73.12, 115.33°)
OKLaboklab(75.89% -0.0922 0.145)
OKLCHoklch(75.89% 0.172 122.4)
XYZxyz(33.5889, 45.5761, 9.2176)
Luminance0.4558 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EC12A #4D2AC1
analogous
#C1982A #9EC12A #53C12A
triadic
#9EC12A #2A9EC1 #C12A9E
tetradic
#9EC12A #2AC198 #4D2AC1 #C12A53
square
#9EC12A #2AC198 #4D2AC1 #C12A53
split-complementary
#9EC12A #2A53C1 #982AC1
monochromatic
#4C5C14 #758F1F #9EC12A #B9D94F #CDE482

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9EC12A#FFFFFF#000000##000000
##9EC12A1.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)
#CDB500
Deuteranopia (green-blind)
#C8B439
Tritanopia (blue-blind)
#A7B7A5
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #9ec12a;
/* rgb */ color: rgb(158, 193, 42);
/* oklch */ color: oklch(75.9% 0.172 122.4);
Tailwind
colors: {
  custom: {
    50: '#bfd371',
    500: '#9ec12a',
    950: '#000000',
  },
}
SCSS
$custom: #9ec12a;
$custom-light: #bfd371;
$custom-dark: #000000;
JSON
{
  "hex": "#9ec12a",
  "rgb": {
    "r": 158,
    "g": 193,
    "b": 42
  },
  "hsl": {
    "h": 73.907,
    "s": 64.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.75893,
    "c": 0.17182,
    "h": 122.4
  },
  "luminance": 0.45576
}

Semantic roles & 50–950 ramp

primary
#9EC12A
secondary
#8D7ACD
accent
#41E767
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131408
muted
#82827B

Preview Lab

Preview with #9EC12A

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

Preview Lab → · Contrast checker → · Palette generator →

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