#9FCF5F#9FCF5F

#9FCF5F is a light, vivid yellow-green. Relative luminance 0.528; OKLCH L 79.7% C 0.151 H 128.7°. Best body text is #000000 at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#9FCF5F
RGBrgb(159, 207, 95)
HSLhsl(86, 54%, 59%)
HSVhsv(86, 54%, 81%)
CMYKcmyk(23.2%, 0%, 54.1%, 18.8%)
CIE-LABlab(77.77, -33.67, 49.94)
CIE-LCHlch(77.77, 60.23, 123.98°)
OKLaboklab(79.68% -0.0943 0.1178)
OKLCHoklch(79.68% 0.151 128.7)
XYZxyz(38.6762, 52.8221, 18.9823)
Luminance0.5282 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FCF5F #8F5FCF
analogous
#CFC75F #9FCF5F #67CF5F
triadic
#9FCF5F #5F9FCF #CF5F9F
tetradic
#9FCF5F #5FCFC7 #8F5FCF #CF5F67
square
#9FCF5F #5FCFC7 #8F5FCF #CF5F67
split-complementary
#9FCF5F #5F67CF #C75FCF
monochromatic
#618A29 #82B938 #9FCF5F #BBDD8E #D7EBBD

Accessibility & contrast

On white

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

On black

11.56
#9FCF5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FCF5F
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FCF5F#FFFFFF#000000##000000
##9FCF5F1.001.8211.5611.56
#FFFFFF1.821.0021.0021.00
#00000011.5621.001.001.00
##00000011.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C254
Deuteranopia (green-blind)
#D1BF66
Tritanopia (blue-blind)
#A3C7B6
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #9fcf5f;
/* rgb */ color: rgb(159, 207, 95);
/* oklch */ color: oklch(79.7% 0.151 128.7);
Tailwind
colors: {
  custom: {
    50: '#bede8f',
    500: '#9fcf5f',
    950: '#000000',
  },
}
SCSS
$custom: #9fcf5f;
$custom-light: #bede8f;
$custom-dark: #000000;
JSON
{
  "hex": "#9fcf5f",
  "rgb": {
    "r": 159,
    "g": 207,
    "b": 95
  },
  "hsl": {
    "h": 85.714,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.79678,
    "c": 0.15091,
    "h": 128.7
  },
  "luminance": 0.52823
}

Semantic roles & 50–950 ramp

primary
#9FCF5F
secondary
#634191
accent
#4BDD89
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#12150D
muted
#82847F

Preview Lab

Preview with #9FCF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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