#9BC842#9BC842

#9BC842 is a light, vivid yellow-green. Relative luminance 0.487; OKLCH L 77.5% C 0.167 H 126.1°. Best body text is #000000 at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#9BC842
RGBrgb(155, 200, 66)
HSLhsl(80, 55%, 52%)
HSVhsv(80, 67%, 78%)
CMYKcmyk(22.5%, 0%, 67%, 21.6%)
CIE-LABlab(75.25, -34.39, 59.61)
CIE-LCHlch(75.25, 68.82, 119.98°)
OKLaboklab(77.49% -0.0985 0.1352)
OKLCHoklch(77.49% 0.167 126.1)
XYZxyz(35.1553, 48.6700, 12.6953)
Luminance0.4867 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BC842 #6F42C8
analogous
#C8B242 #9BC842 #58C842
triadic
#9BC842 #429BC8 #C8429B
tetradic
#9BC842 #42C8B2 #6F42C8 #C84258
square
#9BC842 #42C8B2 #6F42C8 #C84258
split-complementary
#9BC842 #4258C8 #B242C8
monochromatic
#556F20 #799F2E #9BC842 #B4D671 #CDE4A1

Accessibility & contrast

On white

1.96
#9BC842 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.73
#9BC842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BC842
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BC842#FFFFFF#000000##000000
##9BC8421.001.9610.7310.73
#FFFFFF1.961.0021.0021.00
#00000010.7321.001.001.00
##00000010.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB2F
Deuteranopia (green-blind)
#CCB94D
Tritanopia (blue-blind)
#A1BFAD
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #9bc842;
/* rgb */ color: rgb(155, 200, 66);
/* oklch */ color: oklch(77.5% 0.167 126.1);
Tailwind
colors: {
  custom: {
    50: '#bcd97d',
    500: '#9bc842',
    950: '#000000',
  },
}
SCSS
$custom: #9bc842;
$custom-light: #bcd97d;
$custom-dark: #000000;
JSON
{
  "hex": "#9bc842",
  "rgb": {
    "r": 155,
    "g": 200,
    "b": 66
  },
  "hsl": {
    "h": 80.149,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.77488,
    "c": 0.1673,
    "h": 126.1
  },
  "luminance": 0.4867
}

Semantic roles & 50–950 ramp

primary
#9BC842
secondary
#A996D0
accent
#4ADE7B
background
#FBFDF7
surface
#F7FAEE
border
#D0D3C9
text
#12140A
muted
#81837C

Preview Lab

Preview with #9BC842

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

Preview Lab → · Contrast checker → · Palette generator →

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