#9EC02C#9EC02C

#9EC02C is a light, vivid yellow-green. Relative luminance 0.452; OKLCH L 75.7% C 0.170 H 122.2°. Best body text is #000000 at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#9EC02C
RGBrgb(158, 192, 44)
HSLhsl(74, 63%, 46%)
HSVhsv(74, 77%, 75%)
CMYKcmyk(17.7%, 0%, 77.1%, 24.7%)
CIE-LABlab(72.99, -30.73, 65.24)
CIE-LCHlch(72.99, 72.11, 115.22°)
OKLaboklab(75.67% -0.0905 0.1435)
OKLCHoklch(75.67% 0.17 122.2)
XYZxyz(33.4053, 45.1501, 9.3374)
Luminance0.4515 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EC02C #4E2CC0
analogous
#C0982C #9EC02C #54C02C
triadic
#9EC02C #2C9EC0 #C02C9E
tetradic
#9EC02C #2CC098 #4E2CC0 #C02C54
square
#9EC02C #2CC098 #4E2CC0 #C02C54
split-complementary
#9EC02C #2C54C0 #982CC0
monochromatic
#4C5C15 #758E21 #9EC02C #B9D752 #CDE384

Accessibility & contrast

On white

2.09
#9EC02C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.03
#9EC02C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EC02C
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EC02C#FFFFFF#000000##000000
##9EC02C1.002.0910.0310.03
#FFFFFF2.091.0021.0021.00
#00000010.0321.001.001.00
##00000010.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB400
Deuteranopia (green-blind)
#C7B33A
Tritanopia (blue-blind)
#A7B6A4
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #9ec02c;
/* rgb */ color: rgb(158, 192, 44);
/* oklch */ color: oklch(75.7% 0.170 122.2);
Tailwind
colors: {
  custom: {
    50: '#bed371',
    500: '#9ec02c',
    950: '#000000',
  },
}
SCSS
$custom: #9ec02c;
$custom-light: #bed371;
$custom-dark: #000000;
JSON
{
  "hex": "#9ec02c",
  "rgb": {
    "r": 158,
    "g": 192,
    "b": 44
  },
  "hsl": {
    "h": 73.784,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.75671,
    "c": 0.16967,
    "h": 122.2
  },
  "luminance": 0.4515
}

Semantic roles & 50–950 ramp

primary
#9EC02C
secondary
#8E7CCC
accent
#42E668
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131408
muted
#82827B

Preview Lab

Preview with #9EC02C

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

Preview Lab → · Contrast checker → · Palette generator →

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