#9ECF5F#9ECF5F

#9ECF5F is a light, vivid yellow-green. Relative luminance 0.527; OKLCH L 79.6% C 0.151 H 129.0°. Best body text is #000000 at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#9ECF5F
RGBrgb(158, 207, 95)
HSLhsl(86, 54%, 59%)
HSVhsv(86, 54%, 81%)
CMYKcmyk(23.7%, 0%, 54.1%, 18.8%)
CIE-LABlab(77.71, -34.04, 49.86)
CIE-LCHlch(77.71, 60.37, 124.32°)
OKLaboklab(79.61% -0.0952 0.1177)
OKLCHoklch(79.61% 0.151 129)
XYZxyz(38.4787, 52.7202, 18.9730)
Luminance0.5272 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9ECF5F #905FCF
analogous
#CFC85F #9ECF5F #66CF5F
triadic
#9ECF5F #5F9ECF #CF5F9E
tetradic
#9ECF5F #5FCFC8 #905FCF #CF5F66
square
#9ECF5F #5FCFC8 #905FCF #CF5F66
split-complementary
#9ECF5F #5F66CF #C85FCF
monochromatic
#608A29 #81B938 #9ECF5F #BBDD8E #D7EBBD

Accessibility & contrast

On white

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

On black

11.54
#9ECF5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9ECF5F
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9ECF5F#FFFFFF#000000##000000
##9ECF5F1.001.8211.5411.54
#FFFFFF1.821.0021.0021.00
#00000011.5421.001.001.00
##00000011.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9ecf5f;
/* rgb */ color: rgb(158, 207, 95);
/* oklch */ color: oklch(79.6% 0.151 129.0);
Tailwind
colors: {
  custom: {
    50: '#bdde8f',
    500: '#9ecf5f',
    950: '#000000',
  },
}
SCSS
$custom: #9ecf5f;
$custom-light: #bdde8f;
$custom-dark: #000000;
JSON
{
  "hex": "#9ecf5f",
  "rgb": {
    "r": 158,
    "g": 207,
    "b": 95
  },
  "hsl": {
    "h": 86.25,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.79614,
    "c": 0.15138,
    "h": 129
  },
  "luminance": 0.52721
}

Semantic roles & 50–950 ramp

primary
#9ECF5F
secondary
#644191
accent
#4BDD8B
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#12150D
muted
#82847F

Preview Lab

Preview with #9ECF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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