#9BC938#9BC938

#9BC938 is a light, vivid yellow-green. Relative luminance 0.490; OKLCH L 77.6% C 0.175 H 125.8°. Best body text is #000000 at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#9BC938
RGBrgb(155, 201, 56)
HSLhsl(79, 57%, 50%)
HSVhsv(79, 72%, 79%)
CMYKcmyk(22.9%, 0%, 72.1%, 21.2%)
CIE-LABlab(75.47, -35.47, 63.57)
CIE-LCHlch(75.47, 72.80, 119.16°)
OKLaboklab(77.65% -0.1024 0.142)
OKLCHoklch(77.65% 0.175 125.8)
XYZxyz(35.1182, 49.0269, 11.3536)
Luminance0.4903 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BC938 #6638C9
analogous
#C9AE38 #9BC938 #53C938
triadic
#9BC938 #389BC9 #C9389B
tetradic
#9BC938 #38C9AE #6638C9 #C93853
square
#9BC938 #38C9AE #6638C9 #C93853
split-complementary
#9BC938 #3853C9 #AE38C9
monochromatic
#516A1D #769A2A #9BC938 #B3D668 #CBE398

Accessibility & contrast

On white

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

On black

10.81
#9BC938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BC938
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BC938#FFFFFF#000000##000000
##9BC9381.001.9410.8110.81
#FFFFFF1.941.0021.0021.00
#00000010.8121.001.001.00
##00000010.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9bc938;
/* rgb */ color: rgb(155, 201, 56);
/* oklch */ color: oklch(77.6% 0.175 125.8);
Tailwind
colors: {
  custom: {
    50: '#bcd978',
    500: '#9bc938',
    950: '#000000',
  },
}
SCSS
$custom: #9bc938;
$custom-light: #bcd978;
$custom-dark: #000000;
JSON
{
  "hex": "#9bc938",
  "rgb": {
    "r": 155,
    "g": 201,
    "b": 56
  },
  "hsl": {
    "h": 79.034,
    "s": 57.312,
    "l": 50.392
  },
  "oklch": {
    "l": 0.77647,
    "c": 0.17507,
    "h": 125.8
  },
  "luminance": 0.49027
}

Semantic roles & 50–950 ramp

primary
#9BC938
secondary
#A38ECF
accent
#47E178
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#12140A
muted
#81837C

Preview Lab

Preview with #9BC938

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

Preview Lab → · Contrast checker → · Palette generator →

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