#9BC942#9BC942

#9BC942 is a light, vivid yellow-green. Relative luminance 0.491; OKLCH L 77.7% C 0.169 H 126.3°. Best body text is #000000 at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#9BC942
RGBrgb(155, 201, 66)
HSLhsl(80, 56%, 52%)
HSVhsv(80, 67%, 79%)
CMYKcmyk(22.9%, 0%, 67.2%, 21.2%)
CIE-LABlab(75.54, -34.85, 59.91)
CIE-LCHlch(75.54, 69.31, 120.18°)
OKLaboklab(77.72% -0.0998 0.1358)
OKLCHoklch(77.72% 0.169 126.3)
XYZxyz(35.3877, 49.1347, 12.7728)
Luminance0.4914 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BC942 #7042C9
analogous
#C9B342 #9BC942 #58C942
triadic
#9BC942 #429BC9 #C9429B
tetradic
#9BC942 #42C9B3 #7042C9 #C94258
square
#9BC942 #42C9B3 #7042C9 #C94258
split-complementary
#9BC942 #4258C9 #B342C9
monochromatic
#557020 #79A02E #9BC942 #B4D772 #CDE4A1

Accessibility & contrast

On white

1.94
#9BC942 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.83
#9BC942 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BC942
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BC942#FFFFFF#000000##000000
##9BC9421.001.9410.8310.83
#FFFFFF1.941.0021.0021.00
#00000010.8321.001.001.00
##00000010.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC2F
Deuteranopia (green-blind)
#CDB94D
Tritanopia (blue-blind)
#A1C0AE
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #9bc942;
/* rgb */ color: rgb(155, 201, 66);
/* oklch */ color: oklch(77.7% 0.169 126.3);
Tailwind
colors: {
  custom: {
    50: '#bcd97d',
    500: '#9bc942',
    950: '#000000',
  },
}
SCSS
$custom: #9bc942;
$custom-light: #bcd97d;
$custom-dark: #000000;
JSON
{
  "hex": "#9bc942",
  "rgb": {
    "r": 155,
    "g": 201,
    "b": 66
  },
  "hsl": {
    "h": 80.444,
    "s": 55.556,
    "l": 52.353
  },
  "oklch": {
    "l": 0.77723,
    "c": 0.16855,
    "h": 126.3
  },
  "luminance": 0.49135
}

Semantic roles & 50–950 ramp

primary
#9BC942
secondary
#AA96D1
accent
#49DF7C
background
#FBFDF7
surface
#F7FAEE
border
#D0D3C9
text
#12140A
muted
#81837C

Preview Lab

Preview with #9BC942

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

Preview Lab → · Contrast checker → · Palette generator →

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