#9BC342#9BC342

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

Color values

HEX#9BC342
RGBrgb(155, 195, 66)
HSLhsl(79, 52%, 51%)
HSVhsv(79, 66%, 76%)
CMYKcmyk(20.5%, 0%, 66.2%, 23.5%)
CIE-LABlab(73.80, -32.07, 58.10)
CIE-LCHlch(73.80, 66.37, 118.90°)
OKLaboklab(76.32% -0.0922 0.132)
OKLCHoklch(76.32% 0.161 124.9)
XYZxyz(34.0162, 46.3918, 12.3156)
Luminance0.4639 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BC342 #6A42C3
analogous
#C3AA42 #9BC342 #5AC342
triadic
#9BC342 #429BC3 #C3429B
tetradic
#9BC342 #42C3AA #6A42C3 #C3425A
square
#9BC342 #42C3AA #6A42C3 #C3425A
split-complementary
#9BC342 #425AC3 #AA42C3
monochromatic
#536921 #789830 #9BC342 #B4D270 #CCE09F

Accessibility & contrast

On white

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

On black

10.28
#9BC342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BC342
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BC342#FFFFFF#000000##000000
##9BC3421.002.0410.2810.28
#FFFFFF2.041.0021.0021.00
#00000010.2821.001.001.00
##00000010.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9bc342;
/* rgb */ color: rgb(155, 195, 66);
/* oklch */ color: oklch(76.3% 0.161 124.9);
Tailwind
colors: {
  custom: {
    50: '#bcd57d',
    500: '#9bc342',
    950: '#000000',
  },
}
SCSS
$custom: #9bc342;
$custom-light: #bcd57d;
$custom-dark: #000000;
JSON
{
  "hex": "#9bc342",
  "rgb": {
    "r": 155,
    "g": 195,
    "b": 66
  },
  "hsl": {
    "h": 78.605,
    "s": 51.807,
    "l": 51.176
  },
  "oklch": {
    "l": 0.76318,
    "c": 0.16101,
    "h": 124.9
  },
  "luminance": 0.46392
}

Semantic roles & 50–950 ramp

primary
#9BC342
secondary
#A694CD
accent
#4DDB79
background
#FBFDF7
surface
#F7FAEE
border
#D0D3C9
text
#12140A
muted
#81837C

Preview Lab

Preview with #9BC342

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

Preview Lab → · Contrast checker → · Palette generator →

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