#9BC742#9BC742

#9BC742 is a light, vivid yellow-green. Relative luminance 0.482; OKLCH L 77.3% C 0.166 H 125.9°. Best body text is #000000 at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#9BC742
RGBrgb(155, 199, 66)
HSLhsl(80, 54%, 52%)
HSVhsv(80, 67%, 78%)
CMYKcmyk(22.1%, 0%, 66.8%, 22%)
CIE-LABlab(74.96, -33.93, 59.31)
CIE-LCHlch(74.96, 68.33, 119.77°)
OKLaboklab(77.25% -0.0973 0.1346)
OKLCHoklch(77.25% 0.166 125.9)
XYZxyz(34.9245, 48.2083, 12.6184)
Luminance0.4821 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BC742 #6E42C7
analogous
#C7B142 #9BC742 #58C742
triadic
#9BC742 #429BC7 #C7429B
tetradic
#9BC742 #42C7B1 #6E42C7 #C74258
square
#9BC742 #42C7B1 #6E42C7 #C74258
split-complementary
#9BC742 #4258C7 #B142C7
monochromatic
#546E21 #799D2F #9BC742 #B4D571 #CDE3A0

Accessibility & contrast

On white

1.97
#9BC742 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.64
#9BC742 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BC742
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BC742#FFFFFF#000000##000000
##9BC7421.001.9710.6410.64
#FFFFFF1.971.0021.0021.00
#00000010.6421.001.001.00
##00000010.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA2F
Deuteranopia (green-blind)
#CBB84D
Tritanopia (blue-blind)
#A1BEAC
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #9bc742;
/* rgb */ color: rgb(155, 199, 66);
/* oklch */ color: oklch(77.3% 0.166 125.9);
Tailwind
colors: {
  custom: {
    50: '#bcd87d',
    500: '#9bc742',
    950: '#000000',
  },
}
SCSS
$custom: #9bc742;
$custom-light: #bcd87d;
$custom-dark: #000000;
JSON
{
  "hex": "#9bc742",
  "rgb": {
    "r": 155,
    "g": 199,
    "b": 66
  },
  "hsl": {
    "h": 79.85,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.77254,
    "c": 0.16604,
    "h": 125.9
  },
  "luminance": 0.48209
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9BC742

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

Preview Lab → · Contrast checker → · Palette generator →

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