#9EC02F#9EC02F

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

Color values

HEX#9EC02F
RGBrgb(158, 192, 47)
HSLhsl(74, 61%, 47%)
HSVhsv(74, 76%, 75%)
CMYKcmyk(17.7%, 0%, 75.5%, 24.7%)
CIE-LABlab(73.01, -30.59, 64.30)
CIE-LCHlch(73.01, 71.21, 115.44°)
OKLaboklab(75.69% -0.0899 0.1421)
OKLCHoklch(75.69% 0.168 122.3)
XYZxyz(33.4638, 45.1735, 9.6452)
Luminance0.4517 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EC02F #512FC0
analogous
#C09A2F #9EC02F #56C02F
triadic
#9EC02F #2F9EC0 #C02F9E
tetradic
#9EC02F #2FC09A #512FC0 #C02F56
square
#9EC02F #2FC09A #512FC0 #C02F56
split-complementary
#9EC02F #2F56C0 #9A2FC0
monochromatic
#4D5E17 #768F23 #9EC02F #B8D656 #CDE288

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9EC02F#FFFFFF#000000##000000
##9EC02F1.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)
#CCB40B
Deuteranopia (green-blind)
#C7B33D
Tritanopia (blue-blind)
#A6B6A5
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #9ec02f;
/* rgb */ color: rgb(158, 192, 47);
/* oklch */ color: oklch(75.7% 0.168 122.3);
Tailwind
colors: {
  custom: {
    50: '#bed373',
    500: '#9ec02f',
    950: '#000000',
  },
}
SCSS
$custom: #9ec02f;
$custom-light: #bed373;
$custom-dark: #000000;
JSON
{
  "hex": "#9ec02f",
  "rgb": {
    "r": 158,
    "g": 192,
    "b": 47
  },
  "hsl": {
    "h": 74.069,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.75688,
    "c": 0.1681,
    "h": 122.3
  },
  "luminance": 0.45174
}

Semantic roles & 50–950 ramp

primary
#9EC02F
secondary
#917FCB
accent
#44E469
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131409
muted
#82827B

Preview Lab

Preview with #9EC02F

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

Preview Lab → · Contrast checker → · Palette generator →

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