#9CC938#9CC938

#9CC938 is a light, vivid yellow-green. Relative luminance 0.491; OKLCH L 77.7% C 0.175 H 125.5°. Best body text is #000000 at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#9CC938
RGBrgb(156, 201, 56)
HSLhsl(79, 57%, 50%)
HSVhsv(79, 72%, 79%)
CMYKcmyk(22.4%, 0%, 72.1%, 21.2%)
CIE-LABlab(75.53, -35.08, 63.65)
CIE-LCHlch(75.53, 72.68, 118.86°)
OKLaboklab(77.71% -0.1014 0.1422)
OKLCHoklch(77.71% 0.175 125.5)
XYZxyz(35.3110, 49.1263, 11.3626)
Luminance0.4913 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CC938 #6538C9
analogous
#C9AE38 #9CC938 #53C938
triadic
#9CC938 #389CC9 #C9389C
tetradic
#9CC938 #38C9AE #6538C9 #C93853
square
#9CC938 #38C9AE #6538C9 #C93853
split-complementary
#9CC938 #3853C9 #AE38C9
monochromatic
#526A1D #779A2A #9CC938 #B4D668 #CCE398

Accessibility & contrast

On white

1.94
#9CC938 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.83
#9CC938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CC938
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CC938#FFFFFF#000000##000000
##9CC9381.001.9410.8310.83
#FFFFFF1.941.0021.0021.00
#00000010.8321.001.001.00
##00000010.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC1D
Deuteranopia (green-blind)
#CEB945
Tritanopia (blue-blind)
#A3BFAD
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #9cc938;
/* rgb */ color: rgb(156, 201, 56);
/* oklch */ color: oklch(77.7% 0.175 125.5);
Tailwind
colors: {
  custom: {
    50: '#bdd978',
    500: '#9cc938',
    950: '#000000',
  },
}
SCSS
$custom: #9cc938;
$custom-light: #bdd978;
$custom-dark: #000000;
JSON
{
  "hex": "#9cc938",
  "rgb": {
    "r": 156,
    "g": 201,
    "b": 56
  },
  "hsl": {
    "h": 78.621,
    "s": 57.312,
    "l": 50.392
  },
  "oklch": {
    "l": 0.77713,
    "c": 0.17459,
    "h": 125.5
  },
  "luminance": 0.49127
}

Semantic roles & 50–950 ramp

primary
#9CC938
secondary
#A28ECF
accent
#47E177
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#12140A
muted
#81837C

Preview Lab

Preview with #9CC938

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

Preview Lab → · Contrast checker → · Palette generator →

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