#9FCF4F#9FCF4F

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

Color values

HEX#9FCF4F
RGBrgb(159, 207, 79)
HSLhsl(83, 57%, 56%)
HSVhsv(83, 62%, 81%)
CMYKcmyk(23.2%, 0%, 61.8%, 18.8%)
CIE-LABlab(77.61, -35.10, 56.89)
CIE-LCHlch(77.61, 66.85, 121.67°)
OKLaboklab(79.5% -0.0996 0.1311)
OKLCHoklch(79.5% 0.165 127.2)
XYZxyz(38.0222, 52.5604, 15.5376)
Luminance0.5256 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FCF4F #7F4FCF
analogous
#CFBF4F #9FCF4F #5FCF4F
triadic
#9FCF4F #4F9FCF #CF4F9F
tetradic
#9FCF4F #4FCFBF #7F4FCF #CF4F5F
square
#9FCF4F #4FCFBF #7F4FCF #CF4F5F
split-complementary
#9FCF4F #4F5FCF #BF4FCF
monochromatic
#5D8123 #80B130 #9FCF4F #B9DC7F #D3E9AF

Accessibility & contrast

On white

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

On black

11.51
#9FCF4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FCF4F
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FCF4F#FFFFFF#000000##000000
##9FCF4F1.001.8211.5111.51
#FFFFFF1.821.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9fcf4f;
/* rgb */ color: rgb(159, 207, 79);
/* oklch */ color: oklch(79.5% 0.165 127.2);
Tailwind
colors: {
  custom: {
    50: '#bede85',
    500: '#9fcf4f',
    950: '#000000',
  },
}
SCSS
$custom: #9fcf4f;
$custom-light: #bede85;
$custom-dark: #000000;
JSON
{
  "hex": "#9fcf4f",
  "rgb": {
    "r": 159,
    "g": 207,
    "b": 79
  },
  "hsl": {
    "h": 82.5,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.79503,
    "c": 0.16462,
    "h": 127.2
  },
  "luminance": 0.52561
}

Semantic roles & 50–950 ramp

primary
#9FCF4F
secondary
#573A88
accent
#47E081
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#12150B
muted
#82847E

Preview Lab

Preview with #9FCF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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