#9BC240#9BC240

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

Color values

HEX#9BC240
RGBrgb(155, 194, 64)
HSLhsl(78, 52%, 51%)
HSVhsv(78, 67%, 76%)
CMYKcmyk(20.1%, 0%, 67%, 23.9%)
CIE-LABlab(73.49, -31.74, 58.58)
CIE-LCHlch(73.49, 66.63, 118.45°)
OKLaboklab(76.07% -0.0914 0.1327)
OKLCHoklch(76.07% 0.161 124.6)
XYZxyz(33.7350, 45.9220, 11.9360)
Luminance0.4592 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BC240 #6740C2
analogous
#C2A840 #9BC240 #5AC240
triadic
#9BC240 #409BC2 #C2409B
tetradic
#9BC240 #40C2A8 #6740C2 #C2405A
square
#9BC240 #40C2A8 #6740C2 #C2405A
split-complementary
#9BC240 #405AC2 #A840C2
monochromatic
#526721 #779530 #9BC240 #B3D16E #CCE09D

Accessibility & contrast

On white

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

On black

10.18
#9BC240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BC240
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BC240#FFFFFF#000000##000000
##9BC2401.002.0610.1810.18
#FFFFFF2.061.0021.0021.00
#00000010.1821.001.001.00
##00000010.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB62D
Deuteranopia (green-blind)
#C7B44A
Tritanopia (blue-blind)
#A2B9A8
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #9bc240;
/* rgb */ color: rgb(155, 194, 64);
/* oklch */ color: oklch(76.1% 0.161 124.6);
Tailwind
colors: {
  custom: {
    50: '#bcd47c',
    500: '#9bc240',
    950: '#000000',
  },
}
SCSS
$custom: #9bc240;
$custom-light: #bcd47c;
$custom-dark: #000000;
JSON
{
  "hex": "#9bc240",
  "rgb": {
    "r": 155,
    "g": 194,
    "b": 64
  },
  "hsl": {
    "h": 78,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.76067,
    "c": 0.16118,
    "h": 124.6
  },
  "luminance": 0.45922
}

Semantic roles & 50–950 ramp

primary
#9BC240
secondary
#A392CC
accent
#4DDB77
background
#FBFDF7
surface
#F7FAEE
border
#D0D3C9
text
#12140A
muted
#81837C

Preview Lab

Preview with #9BC240

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

Preview Lab → · Contrast checker → · Palette generator →

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