#9FDF52#9FDF52

#9FDF52 is a very light, vivid yellow-green. Relative luminance 0.608; OKLCH L 83.3% C 0.183 H 130.3°. Best body text is #000000 at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#9FDF52
RGBrgb(159, 223, 82)
HSLhsl(87, 69%, 60%)
HSVhsv(87, 63%, 87%)
CMYKcmyk(28.7%, 0%, 63.2%, 12.5%)
CIE-LABlab(82.25, -42.01, 60.68)
CIE-LCHlch(82.25, 73.81, 124.69°)
OKLaboklab(83.27% -0.1184 0.1395)
OKLCHoklch(83.27% 0.183 130.3)
XYZxyz(42.2084, 60.7543, 17.4839)
Luminance0.6076 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FDF52 #9252DF
analogous
#DFD852 #9FDF52 #59DF52
triadic
#9FDF52 #529FDF #DF529F
tetradic
#9FDF52 #52DFD8 #9252DF #DF5259
square
#9FDF52 #52DFD8 #9252DF #DF5259
split-complementary
#9FDF52 #5259DF #D852DF
monochromatic
#619A1D #82CE26 #9FDF52 #BCE986 #D8F2B9

Accessibility & contrast

On white

1.60
#9FDF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.15
#9FDF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FDF52
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FDF52#FFFFFF#000000##000000
##9FDF521.001.6013.1513.15
#FFFFFF1.601.0021.0021.00
#00000013.1521.001.001.00
##00000013.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D040
Deuteranopia (green-blind)
#E0CB5D
Tritanopia (blue-blind)
#A2D6C2
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #9fdf52;
/* rgb */ color: rgb(159, 223, 82);
/* oklch */ color: oklch(83.3% 0.183 130.3);
Tailwind
colors: {
  custom: {
    50: '#bfe988',
    500: '#9fdf52',
    950: '#000000',
  },
}
SCSS
$custom: #9fdf52;
$custom-light: #bfe988;
$custom-dark: #000000;
JSON
{
  "hex": "#9fdf52",
  "rgb": {
    "r": 159,
    "g": 223,
    "b": 82
  },
  "hsl": {
    "h": 87.234,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.83267,
    "c": 0.18292,
    "h": 130.3
  },
  "luminance": 0.60755
}

Semantic roles & 50–950 ramp

primary
#9FDF52
secondary
#66379E
accent
#3CEC8C
background
#FDFEFC
surface
#F9FDF4
border
#D2D5CE
text
#13160C
muted
#82847F

Preview Lab

Preview with #9FDF52

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

Preview Lab → · Contrast checker → · Palette generator →

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