#9FCF52#9FCF52

#9FCF52 is a light, vivid yellow-green. Relative luminance 0.526; OKLCH L 79.5% C 0.162 H 127.5°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#9FCF52
RGBrgb(159, 207, 82)
HSLhsl(83, 57%, 57%)
HSVhsv(83, 60%, 81%)
CMYKcmyk(23.2%, 0%, 60.4%, 18.8%)
CIE-LABlab(77.64, -34.85, 55.63)
CIE-LCHlch(77.64, 65.65, 122.06°)
OKLaboklab(79.53% -0.0987 0.1288)
OKLCHoklch(79.53% 0.162 127.5)
XYZxyz(38.1338, 52.6051, 16.1257)
Luminance0.5261 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FCF52 #8252CF
analogous
#CFC152 #9FCF52 #61CF52
triadic
#9FCF52 #529FCF #CF529F
tetradic
#9FCF52 #52CFC1 #8252CF #CF5261
square
#9FCF52 #52CFC1 #8252CF #CF5261
split-complementary
#9FCF52 #5261CF #C152CF
monochromatic
#5E8224 #81B231 #9FCF52 #BADC82 #D4EAB2

Accessibility & contrast

On white

1.82
#9FCF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.52
#9FCF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FCF52
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FCF52#FFFFFF#000000##000000
##9FCF521.001.8211.5211.52
#FFFFFF1.821.0021.0021.00
#00000011.5221.001.001.00
##00000011.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9fcf52;
/* rgb */ color: rgb(159, 207, 82);
/* oklch */ color: oklch(79.5% 0.162 127.5);
Tailwind
colors: {
  custom: {
    50: '#bede87',
    500: '#9fcf52',
    950: '#000000',
  },
}
SCSS
$custom: #9fcf52;
$custom-light: #bede87;
$custom-dark: #000000;
JSON
{
  "hex": "#9fcf52",
  "rgb": {
    "r": 159,
    "g": 207,
    "b": 82
  },
  "hsl": {
    "h": 83.04,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.79533,
    "c": 0.1622,
    "h": 127.5
  },
  "luminance": 0.52606
}

Semantic roles & 50–950 ramp

primary
#9FCF52
secondary
#5A3C8A
accent
#48E082
background
#FDFEFC
surface
#F9FCF3
border
#D2D5CD
text
#12150C
muted
#82847F

Preview Lab

Preview with #9FCF52

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

Preview Lab → · Contrast checker → · Palette generator →

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