#9ECB68#9ECB68

#9ECB68 is a light, vivid yellow-green. Relative luminance 0.510; OKLCH L 78.8% C 0.137 H 129.2°. Best body text is #000000 at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#9ECB68
RGBrgb(158, 203, 104)
HSLhsl(87, 49%, 60%)
HSVhsv(87, 49%, 80%)
CMYKcmyk(22.2%, 0%, 48.8%, 20.4%)
CIE-LABlab(76.67, -31.23, 44.34)
CIE-LCHlch(76.67, 54.23, 125.16°)
OKLaboklab(78.81% -0.0868 0.1063)
OKLCHoklch(78.81% 0.137 129.2)
XYZxyz(37.9548, 50.9797, 20.9344)
Luminance0.5098 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9ECB68 #9568CB
analogous
#CBC668 #9ECB68 #6CCB68
triadic
#9ECB68 #689ECB #CB689E
tetradic
#9ECB68 #68CBC6 #9568CB #CB686C
square
#9ECB68 #68CBC6 #9568CB #CB686C
split-complementary
#9ECB68 #686CCB #C668CB
monochromatic
#60892F #80B73F #9ECB68 #BBDB96 #D8EAC3

Accessibility & contrast

On white

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

On black

11.20
#9ECB68 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9ECB68
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9ECB68#FFFFFF#000000##000000
##9ECB681.001.8811.2011.20
#FFFFFF1.881.0021.0021.00
#00000011.2021.001.001.00
##00000011.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BF5F
Deuteranopia (green-blind)
#CDBC6E
Tritanopia (blue-blind)
#A1C4B4
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #9ecb68;
/* rgb */ color: rgb(158, 203, 104);
/* oklch */ color: oklch(78.8% 0.137 129.2);
Tailwind
colors: {
  custom: {
    50: '#bcdb95',
    500: '#9ecb68',
    950: '#000000',
  },
}
SCSS
$custom: #9ecb68;
$custom-light: #bcdb95;
$custom-dark: #000000;
JSON
{
  "hex": "#9ecb68",
  "rgb": {
    "r": 158,
    "g": 203,
    "b": 104
  },
  "hsl": {
    "h": 87.273,
    "s": 48.768,
    "l": 60.196
  },
  "oklch": {
    "l": 0.78805,
    "c": 0.13718,
    "h": 129.2
  },
  "luminance": 0.5098
}

Semantic roles & 50–950 ramp

primary
#9ECB68
secondary
#684790
accent
#29BC6C
background
#FDFEFC
surface
#F8FBF4
border
#D1D4CE
text
#12150D
muted
#82847F

Preview Lab

Preview with #9ECB68

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

Preview Lab → · Contrast checker → · Palette generator →

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