#9FCF51#9FCF51

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

Color values

HEX#9FCF51
RGBrgb(159, 207, 81)
HSLhsl(83, 57%, 56%)
HSVhsv(83, 61%, 81%)
CMYKcmyk(23.2%, 0%, 60.9%, 18.8%)
CIE-LABlab(77.63, -34.93, 56.06)
CIE-LCHlch(77.63, 66.05, 121.93°)
OKLaboklab(79.52% -0.099 0.1295)
OKLCHoklch(79.52% 0.163 127.4)
XYZxyz(38.0961, 52.5900, 15.9268)
Luminance0.5259 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FCF51 #8151CF
analogous
#CFC051 #9FCF51 #60CF51
triadic
#9FCF51 #519FCF #CF519F
tetradic
#9FCF51 #51CFC0 #8151CF #CF5160
square
#9FCF51 #51CFC0 #8151CF #CF5160
split-complementary
#9FCF51 #5160CF #C051CF
monochromatic
#5E8224 #81B231 #9FCF51 #B9DC81 #D4E9B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FCF51#FFFFFF#000000##000000
##9FCF511.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)
#D9C242
Deuteranopia (green-blind)
#D2BF5A
Tritanopia (blue-blind)
#A4C6B4
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #9fcf51;
/* rgb */ color: rgb(159, 207, 81);
/* oklch */ color: oklch(79.5% 0.163 127.4);
Tailwind
colors: {
  custom: {
    50: '#bede87',
    500: '#9fcf51',
    950: '#000000',
  },
}
SCSS
$custom: #9fcf51;
$custom-light: #bede87;
$custom-dark: #000000;
JSON
{
  "hex": "#9fcf51",
  "rgb": {
    "r": 159,
    "g": 207,
    "b": 81
  },
  "hsl": {
    "h": 82.857,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.79523,
    "c": 0.16302,
    "h": 127.4
  },
  "luminance": 0.52591
}

Semantic roles & 50–950 ramp

primary
#9FCF51
secondary
#593B89
accent
#48E082
background
#FDFEFC
surface
#F9FCF3
border
#D2D5CD
text
#12150C
muted
#82847F

Preview Lab

Preview with #9FCF51

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

Preview Lab → · Contrast checker → · Palette generator →

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