#9DCF52#9DCF52

#9DCF52 is a light, vivid yellow-green. Relative luminance 0.524; OKLCH L 79.4% C 0.163 H 128.1°. Best body text is #000000 at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#9DCF52
RGBrgb(157, 207, 82)
HSLhsl(84, 57%, 57%)
HSVhsv(84, 60%, 81%)
CMYKcmyk(24.2%, 0%, 60.4%, 18.8%)
CIE-LABlab(77.52, -35.61, 55.47)
CIE-LCHlch(77.52, 65.91, 122.70°)
OKLaboklab(79.4% -0.1006 0.1284)
OKLCHoklch(79.4% 0.163 128.1)
XYZxyz(37.7403, 52.4022, 16.1073)
Luminance0.5240 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DCF52 #8452CF
analogous
#CFC352 #9DCF52 #5FCF52
triadic
#9DCF52 #529DCF #CF529D
tetradic
#9DCF52 #52CFC3 #8452CF #CF525F
square
#9DCF52 #52CFC3 #8452CF #CF525F
split-complementary
#9DCF52 #525FCF #C352CF
monochromatic
#5D8224 #7FB231 #9DCF52 #B8DC82 #D3EAB2

Accessibility & contrast

On white

1.83
#9DCF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.48
#9DCF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DCF52
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DCF52#FFFFFF#000000##000000
##9DCF521.001.8311.4811.48
#FFFFFF1.831.0021.0021.00
#00000011.4821.001.001.00
##00000011.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C244
Deuteranopia (green-blind)
#D2BF5B
Tritanopia (blue-blind)
#A2C6B4
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #9dcf52;
/* rgb */ color: rgb(157, 207, 82);
/* oklch */ color: oklch(79.4% 0.163 128.1);
Tailwind
colors: {
  custom: {
    50: '#bdde87',
    500: '#9dcf52',
    950: '#000000',
  },
}
SCSS
$custom: #9dcf52;
$custom-light: #bdde87;
$custom-dark: #000000;
JSON
{
  "hex": "#9dcf52",
  "rgb": {
    "r": 157,
    "g": 207,
    "b": 82
  },
  "hsl": {
    "h": 84,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.79404,
    "c": 0.16315,
    "h": 128.1
  },
  "luminance": 0.52403
}

Semantic roles & 50–950 ramp

primary
#9DCF52
secondary
#5B3C8A
accent
#48E085
background
#FDFEFC
surface
#F9FCF3
border
#D2D5CD
text
#12150C
muted
#82847F

Preview Lab

Preview with #9DCF52

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

Preview Lab → · Contrast checker → · Palette generator →

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