#9BCC38#9BCC38

#9BCC38 is a light, vivid yellow-green. Relative luminance 0.504; OKLCH L 78.4% C 0.179 H 126.4°. Best body text is #000000 at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#9BCC38
RGBrgb(155, 204, 56)
HSLhsl(80, 59%, 51%)
HSVhsv(80, 73%, 80%)
CMYKcmyk(24%, 0%, 72.5%, 20%)
CIE-LABlab(76.34, -36.83, 64.42)
CIE-LCHlch(76.34, 74.21, 119.76°)
OKLaboklab(78.35% -0.1061 0.1438)
OKLCHoklch(78.35% 0.179 126.4)
XYZxyz(35.8244, 50.4392, 11.5890)
Luminance0.5044 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BCC38 #6938CC
analogous
#CCB338 #9BCC38 #51CC38
triadic
#9BCC38 #389BCC #CC389B
tetradic
#9BCC38 #38CCB3 #6938CC #CC3851
square
#9BCC38 #38CCB3 #6938CC #CC3851
split-complementary
#9BCC38 #3851CC #B338CC
monochromatic
#536E1C #779E29 #9BCC38 #B3D869 #CCE599

Accessibility & contrast

On white

1.89
#9BCC38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.09
#9BCC38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BCC38
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BCC38#FFFFFF#000000##000000
##9BCC381.001.8911.0911.09
#FFFFFF1.891.0021.0021.00
#00000011.0921.001.001.00
##00000011.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE1B
Deuteranopia (green-blind)
#D0BB45
Tritanopia (blue-blind)
#A1C2AF
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #9bcc38;
/* rgb */ color: rgb(155, 204, 56);
/* oklch */ color: oklch(78.4% 0.179 126.4);
Tailwind
colors: {
  custom: {
    50: '#bcdb78',
    500: '#9bcc38',
    950: '#000000',
  },
}
SCSS
$custom: #9bcc38;
$custom-light: #bcdb78;
$custom-dark: #000000;
JSON
{
  "hex": "#9bcc38",
  "rgb": {
    "r": 155,
    "g": 204,
    "b": 56
  },
  "hsl": {
    "h": 79.865,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.78352,
    "c": 0.17871,
    "h": 126.4
  },
  "luminance": 0.5044
}

Semantic roles & 50–950 ramp

primary
#9BCC38
secondary
#483177
accent
#45E279
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#12150A
muted
#82847D

Preview Lab

Preview with #9BCC38

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

Preview Lab → · Contrast checker → · Palette generator →

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