#9BC338#9BC338

#9BC338 is a light, vivid yellow-green. Relative luminance 0.463; OKLCH L 76.2% C 0.168 H 124.4°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#9BC338
RGBrgb(155, 195, 56)
HSLhsl(77, 55%, 49%)
HSVhsv(77, 71%, 76%)
CMYKcmyk(20.5%, 0%, 71.3%, 23.5%)
CIE-LABlab(73.73, -32.71, 61.85)
CIE-LCHlch(73.73, 69.97, 117.87°)
OKLaboklab(76.24% -0.0948 0.1384)
OKLCHoklch(76.24% 0.168 124.4)
XYZxyz(33.7468, 46.2840, 10.8964)
Luminance0.4628 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BC338 #6038C3
analogous
#C3A638 #9BC338 #56C338
triadic
#9BC338 #389BC3 #C3389B
tetradic
#9BC338 #38C3A6 #6038C3 #C33856
square
#9BC338 #38C3A6 #6038C3 #C33856
split-complementary
#9BC338 #3856C3 #A638C3
monochromatic
#4F641D #75932A #9BC338 #B3D365 #CBE195

Accessibility & contrast

On white

2.05
#9BC338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.26
#9BC338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BC338
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BC338#FFFFFF#000000##000000
##9BC3381.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB620
Deuteranopia (green-blind)
#C9B544
Tritanopia (blue-blind)
#A2BAA8
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #9bc338;
/* rgb */ color: rgb(155, 195, 56);
/* oklch */ color: oklch(76.2% 0.168 124.4);
Tailwind
colors: {
  custom: {
    50: '#bcd577',
    500: '#9bc338',
    950: '#000000',
  },
}
SCSS
$custom: #9bc338;
$custom-light: #bcd577;
$custom-dark: #000000;
JSON
{
  "hex": "#9bc338",
  "rgb": {
    "r": 155,
    "g": 195,
    "b": 56
  },
  "hsl": {
    "h": 77.266,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.76239,
    "c": 0.16776,
    "h": 124.4
  },
  "luminance": 0.46284
}

Semantic roles & 50–950 ramp

primary
#9BC338
secondary
#9E8BCC
accent
#49DF74
background
#FBFDF7
surface
#F7FAEE
border
#D0D3C9
text
#121409
muted
#81837B

Preview Lab

Preview with #9BC338

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

Preview Lab → · Contrast checker → · Palette generator →

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