#9FD842#9FD842

#9FD842 is a light, vivid yellow-green. Relative luminance 0.569; OKLCH L 81.5% C 0.185 H 128.1°. Best body text is #000000 at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#9FD842
RGBrgb(159, 216, 66)
HSLhsl(83, 66%, 55%)
HSVhsv(83, 69%, 85%)
CMYKcmyk(26.4%, 0%, 69.4%, 15.3%)
CIE-LABlab(80.11, -40.08, 64.68)
CIE-LCHlch(80.11, 76.09, 121.78°)
OKLaboklab(81.49% -0.1144 0.1458)
OKLCHoklch(81.49% 0.185 128.1)
XYZxyz(39.8373, 56.8751, 14.0323)
Luminance0.5688 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FD842 #7B42D8
analogous
#D8C642 #9FD842 #54D842
triadic
#9FD842 #429FD8 #D8429F
tetradic
#9FD842 #42D8C6 #7B42D8 #D84254
square
#9FD842 #42D8C6 #7B42D8 #D84254
split-complementary
#9FD842 #4254D8 #C642D8
monochromatic
#5C841B #80B726 #9FD842 #B9E275 #D3EDA7

Accessibility & contrast

On white

1.70
#9FD842 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.38
#9FD842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FD842
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FD842#FFFFFF#000000##000000
##9FD8421.001.7012.3812.38
#FFFFFF1.701.0021.0021.00
#00000012.3821.001.001.00
##00000012.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3C92A
Deuteranopia (green-blind)
#DBC54F
Tritanopia (blue-blind)
#A4CEBA
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #9fd842;
/* rgb */ color: rgb(159, 216, 66);
/* oklch */ color: oklch(81.5% 0.185 128.1);
Tailwind
colors: {
  custom: {
    50: '#bfe47f',
    500: '#9fd842',
    950: '#000000',
  },
}
SCSS
$custom: #9fd842;
$custom-light: #bfe47f;
$custom-dark: #000000;
JSON
{
  "hex": "#9fd842",
  "rgb": {
    "r": 159,
    "g": 216,
    "b": 66
  },
  "hsl": {
    "h": 82.8,
    "s": 65.789,
    "l": 55.294
  },
  "oklch": {
    "l": 0.81493,
    "c": 0.18529,
    "h": 128.1
  },
  "luminance": 0.56876
}

Semantic roles & 50–950 ramp

primary
#9FD842
secondary
#55338B
accent
#3FE980
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150B
muted
#82847E

Preview Lab

Preview with #9FD842

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

Preview Lab → · Contrast checker → · Palette generator →

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