#9BC242#9BC242

#9BC242 is a light, vivid yellow-green. Relative luminance 0.459; OKLCH L 76.1% C 0.160 H 124.7°. Best body text is #000000 at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#9BC242
RGBrgb(155, 194, 66)
HSLhsl(78, 51%, 51%)
HSVhsv(78, 66%, 76%)
CMYKcmyk(20.1%, 0%, 66%, 23.9%)
CIE-LABlab(73.51, -31.60, 57.80)
CIE-LCHlch(73.51, 65.88, 118.67°)
OKLaboklab(76.08% -0.0909 0.1314)
OKLCHoklch(76.08% 0.16 124.7)
XYZxyz(33.7929, 45.9452, 12.2412)
Luminance0.4595 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BC242 #6942C2
analogous
#C2A942 #9BC242 #5BC242
triadic
#9BC242 #429BC2 #C2429B
tetradic
#9BC242 #42C2A9 #6942C2 #C2425B
square
#9BC242 #42C2A9 #6942C2 #C2425B
split-complementary
#9BC242 #425BC2 #A942C2
monochromatic
#536822 #779631 #9BC242 #B3D170 #CCE09F

Accessibility & contrast

On white

2.06
#9BC242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.19
#9BC242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BC242
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BC242#FFFFFF#000000##000000
##9BC2421.002.0610.1910.19
#FFFFFF2.061.0021.0021.00
#00000010.1921.001.001.00
##00000010.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB630
Deuteranopia (green-blind)
#C7B44C
Tritanopia (blue-blind)
#A2B9A8
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #9bc242;
/* rgb */ color: rgb(155, 194, 66);
/* oklch */ color: oklch(76.1% 0.160 124.7);
Tailwind
colors: {
  custom: {
    50: '#bcd47d',
    500: '#9bc242',
    950: '#000000',
  },
}
SCSS
$custom: #9bc242;
$custom-light: #bcd47d;
$custom-dark: #000000;
JSON
{
  "hex": "#9bc242",
  "rgb": {
    "r": 155,
    "g": 194,
    "b": 66
  },
  "hsl": {
    "h": 78.281,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.76084,
    "c": 0.15974,
    "h": 124.7
  },
  "luminance": 0.45945
}

Semantic roles & 50–950 ramp

primary
#9BC242
secondary
#A594CC
accent
#4DDB78
background
#FBFDF7
surface
#F7FAEE
border
#D0D3C9
text
#12140A
muted
#81837C

Preview Lab

Preview with #9BC242

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

Preview Lab → · Contrast checker → · Palette generator →

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