#9DF271#9DF271

#9DF271 is a very light, vivid yellow-green. Relative luminance 0.719; OKLCH L 87.9% C 0.184 H 136.1°. Best body text is #000000 at 15.37:1 contrast (WCAG AA passes).

Color values

HEX#9DF271
RGBrgb(157, 242, 113)
HSLhsl(100, 83%, 70%)
HSVhsv(100, 53%, 95%)
CMYKcmyk(35.1%, 0%, 53.3%, 5.1%)
CIE-LABlab(87.90, -47.93, 53.60)
CIE-LCHlch(87.90, 71.91, 131.80°)
OKLaboklab(87.94% -0.1323 0.1273)
OKLCHoklch(87.94% 0.184 136.1)
XYZxyz(48.6361, 71.8624, 26.9278)
Luminance0.7187 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DF271 #C671F2
analogous
#DEF271 #9DF271 #71F286
triadic
#9DF271 #719DF2 #F2719D
tetradic
#9DF271 #71DEF2 #C671F2 #F28671
square
#9DF271 #71DEF2 #C671F2 #F28671
split-complementary
#9DF271 #8671F2 #F271DE
monochromatic
#56D514 #76ED39 #9DF271 #C4F7A9 #EAFCE1

Accessibility & contrast

On white

1.37
#9DF271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.37
#9DF271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DF271
15.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DF271#FFFFFF#000000##000000
##9DF2711.001.3715.3715.37
#FFFFFF1.371.0021.0021.00
#00000015.3721.001.001.00
##00000015.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE165
Deuteranopia (green-blind)
#EDDA7A
Tritanopia (blue-blind)
#9BEAD5
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #9df271;
/* rgb */ color: rgb(157, 242, 113);
/* oklch */ color: oklch(87.9% 0.184 136.1);
Tailwind
colors: {
  custom: {
    50: '#bef79d',
    500: '#9df271',
    950: '#000000',
  },
}
SCSS
$custom: #9df271;
$custom-light: #bef79d;
$custom-dark: #000000;
JSON
{
  "hex": "#9df271",
  "rgb": {
    "r": 157,
    "g": 242,
    "b": 113
  },
  "hsl": {
    "h": 99.535,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.87935,
    "c": 0.18355,
    "h": 136.1
  },
  "luminance": 0.71865
}

Semantic roles & 50–950 ramp

primary
#9DF271
secondary
#9A3CCB
accent
#06E095
background
#FDFFFC
surface
#F9FFF5
border
#D2D7CF
text
#12170E
muted
#82857F

Preview Lab

Preview with #9DF271

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

Preview Lab → · Contrast checker → · Palette generator →

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