#9BC340#9BC340

#9BC340 is a light, vivid yellow-green. Relative luminance 0.464; OKLCH L 76.3% C 0.162 H 124.8°. Best body text is #000000 at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#9BC340
RGBrgb(155, 195, 64)
HSLhsl(78, 52%, 51%)
HSVhsv(78, 67%, 76%)
CMYKcmyk(20.5%, 0%, 67.2%, 23.5%)
CIE-LABlab(73.78, -32.21, 58.88)
CIE-LCHlch(73.78, 67.12, 118.68°)
OKLaboklab(76.3% -0.0927 0.1334)
OKLCHoklch(76.3% 0.162 124.8)
XYZxyz(33.9583, 46.3686, 12.0105)
Luminance0.4637 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BC340 #6840C3
analogous
#C3AA40 #9BC340 #59C340
triadic
#9BC340 #409BC3 #C3409B
tetradic
#9BC340 #40C3AA #6840C3 #C34059
square
#9BC340 #40C3AA #6840C3 #C34059
split-complementary
#9BC340 #4059C3 #AA40C3
monochromatic
#526821 #77972F #9BC340 #B3D26F #CCE09D

Accessibility & contrast

On white

2.04
#9BC340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.27
#9BC340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BC340
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BC340#FFFFFF#000000##000000
##9BC3401.002.0410.2710.27
#FFFFFF2.041.0021.0021.00
#00000010.2721.001.001.00
##00000010.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB72D
Deuteranopia (green-blind)
#C8B54A
Tritanopia (blue-blind)
#A2BAA9
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #9bc340;
/* rgb */ color: rgb(155, 195, 64);
/* oklch */ color: oklch(76.3% 0.162 124.8);
Tailwind
colors: {
  custom: {
    50: '#bcd57c',
    500: '#9bc340',
    950: '#000000',
  },
}
SCSS
$custom: #9bc340;
$custom-light: #bcd57c;
$custom-dark: #000000;
JSON
{
  "hex": "#9bc340",
  "rgb": {
    "r": 155,
    "g": 195,
    "b": 64
  },
  "hsl": {
    "h": 78.321,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.76301,
    "c": 0.16243,
    "h": 124.8
  },
  "luminance": 0.46369
}

Semantic roles & 50–950 ramp

primary
#9BC340
secondary
#A492CC
accent
#4CDC78
background
#FBFDF7
surface
#F7FAEE
border
#D0D3C9
text
#12140A
muted
#81837C

Preview Lab

Preview with #9BC340

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

Preview Lab → · Contrast checker → · Palette generator →

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