#9FC21E#9FC21E

#9FC21E is a light, vivid yellow-green. Relative luminance 0.460; OKLCH L 76.1% C 0.178 H 122.1°. Best body text is #000000 at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#9FC21E
RGBrgb(159, 194, 30)
HSLhsl(73, 73%, 44%)
HSVhsv(73, 85%, 76%)
CMYKcmyk(18%, 0%, 84.5%, 23.9%)
CIE-LABlab(73.58, -31.78, 69.52)
CIE-LCHlch(73.58, 76.44, 114.57°)
OKLaboklab(76.14% -0.0943 0.1504)
OKLCHoklch(76.14% 0.178 122.1)
XYZxyz(33.8248, 46.0482, 8.3343)
Luminance0.4605 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FC21E #411EC2
analogous
#C2931E #9FC21E #4DC21E
triadic
#9FC21E #1E9FC2 #C21E9F
tetradic
#9FC21E #1EC293 #411EC2 #C21E4D
square
#9FC21E #1EC293 #411EC2 #C21E4D
split-complementary
#9FC21E #1E4DC2 #931EC2
monochromatic
#48580E #748D16 #9FC21E #BEE13C #D0E971

Accessibility & contrast

On white

2.06
#9FC21E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.21
#9FC21E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FC21E
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FC21E#FFFFFF#000000##000000
##9FC21E1.002.0610.2110.21
#FFFFFF2.061.0021.0021.00
#00000010.2121.001.001.00
##00000010.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB600
Deuteranopia (green-blind)
#CAB532
Tritanopia (blue-blind)
#A8B8A5
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #9fc21e;
/* rgb */ color: rgb(159, 194, 30);
/* oklch */ color: oklch(76.1% 0.178 122.1);
Tailwind
colors: {
  custom: {
    50: '#c0d46c',
    500: '#9fc21e',
    950: '#000000',
  },
}
SCSS
$custom: #9fc21e;
$custom-light: #c0d46c;
$custom-dark: #000000;
JSON
{
  "hex": "#9fc21e",
  "rgb": {
    "r": 159,
    "g": 194,
    "b": 30
  },
  "hsl": {
    "h": 72.805,
    "s": 73.214,
    "l": 43.922
  },
  "oklch": {
    "l": 0.76143,
    "c": 0.17751,
    "h": 122.1
  },
  "luminance": 0.46048
}

Semantic roles & 50–950 ramp

primary
#9FC21E
secondary
#816CD0
accent
#38F05F
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131408
muted
#82837B

Preview Lab

Preview with #9FC21E

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

Preview Lab → · Contrast checker → · Palette generator →

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