#9BC542#9BC542

#9BC542 is a light, vivid yellow-green. Relative luminance 0.473; OKLCH L 76.8% C 0.164 H 125.4°. Best body text is #000000 at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#9BC542
RGBrgb(155, 197, 66)
HSLhsl(79, 53%, 52%)
HSVhsv(79, 66%, 77%)
CMYKcmyk(21.3%, 0%, 66.5%, 22.7%)
CIE-LABlab(74.38, -33.00, 58.71)
CIE-LCHlch(74.38, 67.35, 119.34°)
OKLaboklab(76.79% -0.0947 0.1333)
OKLCHoklch(76.79% 0.164 125.4)
XYZxyz(34.4674, 47.2940, 12.4660)
Luminance0.4729 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BC542 #6C42C5
analogous
#C5AE42 #9BC542 #5AC542
triadic
#9BC542 #429BC5 #C5429B
tetradic
#9BC542 #42C5AE #6C42C5 #C5425A
square
#9BC542 #42C5AE #6C42C5 #C5425A
split-complementary
#9BC542 #425AC5 #AE42C5
monochromatic
#546C21 #789A2F #9BC542 #B4D371 #CDE2A0

Accessibility & contrast

On white

2.01
#9BC542 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.46
#9BC542 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BC542
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BC542#FFFFFF#000000##000000
##9BC5421.002.0110.4610.46
#FFFFFF2.011.0021.0021.00
#00000010.4621.001.001.00
##00000010.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB830
Deuteranopia (green-blind)
#CAB64C
Tritanopia (blue-blind)
#A2BCAA
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #9bc542;
/* rgb */ color: rgb(155, 197, 66);
/* oklch */ color: oklch(76.8% 0.164 125.4);
Tailwind
colors: {
  custom: {
    50: '#bcd67d',
    500: '#9bc542',
    950: '#000000',
  },
}
SCSS
$custom: #9bc542;
$custom-light: #bcd67d;
$custom-dark: #000000;
JSON
{
  "hex": "#9bc542",
  "rgb": {
    "r": 155,
    "g": 197,
    "b": 66
  },
  "hsl": {
    "h": 79.237,
    "s": 53.036,
    "l": 51.569
  },
  "oklch": {
    "l": 0.76786,
    "c": 0.16352,
    "h": 125.4
  },
  "luminance": 0.47294
}

Semantic roles & 50–950 ramp

primary
#9BC542
secondary
#A795CE
accent
#4BDC7A
background
#FBFDF7
surface
#F7FAEE
border
#D0D3C9
text
#12140A
muted
#81837C

Preview Lab

Preview with #9BC542

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

Preview Lab → · Contrast checker → · Palette generator →

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