#9FC987#9FC987

#9FC987 is a light, moderate yellow-green. Relative luminance 0.509; OKLCH L 78.9% C 0.100 H 134.6°. Best body text is #000000 at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#9FC987
RGBrgb(159, 201, 135)
HSLhsl(98, 38%, 66%)
HSVhsv(98, 33%, 79%)
CMYKcmyk(20.9%, 0%, 32.8%, 21.2%)
CIE-LABlab(76.61, -25.89, 28.60)
CIE-LCHlch(76.61, 38.58, 132.16°)
OKLaboklab(78.93% -0.0705 0.0715)
OKLCHoklch(78.93% 0.1 134.6)
XYZxyz(39.5569, 50.8926, 30.6561)
Luminance0.5089 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FC987 #B187C9
analogous
#C0C987 #9FC987 #87C990
triadic
#9FC987 #879FC9 #C9879F
tetradic
#9FC987 #87C0C9 #B187C9 #C99087
square
#9FC987 #87C0C9 #B187C9 #C99087
split-complementary
#9FC987 #9087C9 #C987C0
monochromatic
#609342 #7DB65D #9FC987 #C1DCB1 #E3EFDB

Accessibility & contrast

On white

1.88
#9FC987 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.18
#9FC987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FC987
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FC987#FFFFFF#000000##000000
##9FC9871.001.8811.1811.18
#FFFFFF1.881.0021.0021.00
#00000011.1821.001.001.00
##00000011.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBF83
Deuteranopia (green-blind)
#C8BC8A
Tritanopia (blue-blind)
#9FC4B8
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #9fc987;
/* rgb */ color: rgb(159, 201, 135);
/* oklch */ color: oklch(78.9% 0.100 134.6);
Tailwind
colors: {
  custom: {
    50: '#bcd9aa',
    500: '#9fc987',
    950: '#000000',
  },
}
SCSS
$custom: #9fc987;
$custom-light: #bcd9aa;
$custom-dark: #000000;
JSON
{
  "hex": "#9fc987",
  "rgb": {
    "r": 159,
    "g": 201,
    "b": 135
  },
  "hsl": {
    "h": 98.182,
    "s": 37.931,
    "l": 65.882
  },
  "oklch": {
    "l": 0.78927,
    "c": 0.10042,
    "h": 134.6
  },
  "luminance": 0.50893
}

Semantic roles & 50–950 ramp

primary
#9FC987
secondary
#835A9B
accent
#35B184
background
#FDFEFD
surface
#F8FBF7
border
#D1D4D0
text
#121410
muted
#828381

Preview Lab

Preview with #9FC987

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

Preview Lab → · Contrast checker → · Palette generator →

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