#9FD242#9FD242

#9FD242 is a light, vivid yellow-green. Relative luminance 0.539; OKLCH L 80.1% C 0.178 H 127.0°. Best body text is #000000 at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#9FD242
RGBrgb(159, 210, 66)
HSLhsl(81, 62%, 54%)
HSVhsv(81, 69%, 82%)
CMYKcmyk(24.3%, 0%, 68.6%, 17.6%)
CIE-LABlab(78.38, -37.40, 62.92)
CIE-LCHlch(78.38, 73.20, 120.73°)
OKLaboklab(80.09% -0.1071 0.1421)
OKLCHoklch(80.09% 0.178 127)
XYZxyz(38.3281, 53.8568, 13.5293)
Luminance0.5386 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FD242 #7542D2
analogous
#D2BD42 #9FD242 #57D242
triadic
#9FD242 #429FD2 #D2429F
tetradic
#9FD242 #42D2BD #7542D2 #D24257
square
#9FD242 #42D2BD #7542D2 #D24257
split-complementary
#9FD242 #4257D2 #BD42D2
monochromatic
#5B7C1E #7FAD29 #9FD242 #B8DE73 #D1EAA5

Accessibility & contrast

On white

1.78
#9FD242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.77
#9FD242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FD242
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FD242#FFFFFF#000000##000000
##9FD2421.001.7811.7711.77
#FFFFFF1.781.0021.0021.00
#00000011.7721.001.001.00
##00000011.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC42C
Deuteranopia (green-blind)
#D6C14E
Tritanopia (blue-blind)
#A5C8B5
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #9fd242;
/* rgb */ color: rgb(159, 210, 66);
/* oklch */ color: oklch(80.1% 0.178 127.0);
Tailwind
colors: {
  custom: {
    50: '#bfe07e',
    500: '#9fd242',
    950: '#000000',
  },
}
SCSS
$custom: #9fd242;
$custom-light: #bfe07e;
$custom-dark: #000000;
JSON
{
  "hex": "#9fd242",
  "rgb": {
    "r": 159,
    "g": 210,
    "b": 66
  },
  "hsl": {
    "h": 81.25,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.80089,
    "c": 0.17789,
    "h": 127
  },
  "luminance": 0.53857
}

Semantic roles & 50–950 ramp

primary
#9FD242
secondary
#513484
accent
#43E57C
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #9FD242

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

Preview Lab → · Contrast checker → · Palette generator →

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