#9BCF42#9BCF42

#9BCF42 is a light, vivid yellow-green. Relative luminance 0.520; OKLCH L 79.1% C 0.176 H 127.5°. Best body text is #000000 at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#9BCF42
RGBrgb(155, 207, 66)
HSLhsl(82, 59%, 54%)
HSVhsv(82, 68%, 81%)
CMYKcmyk(25.1%, 0%, 68.1%, 18.8%)
CIE-LABlab(77.27, -37.57, 61.71)
CIE-LCHlch(77.27, 72.25, 121.33°)
OKLaboklab(79.13% -0.1073 0.1396)
OKLCHoklch(79.13% 0.176 127.5)
XYZxyz(36.8138, 51.9868, 13.2481)
Luminance0.5199 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BCF42 #7642CF
analogous
#CFBD42 #9BCF42 #54CF42
triadic
#9BCF42 #429BCF #CF429B
tetradic
#9BCF42 #42CFBD #7642CF #CF4254
square
#9BCF42 #42CFBD #7642CF #CF4254
split-complementary
#9BCF42 #4254CF #BD42CF
monochromatic
#57781F #7AA92B #9BCF42 #B5DB73 #CFE8A4

Accessibility & contrast

On white

1.84
#9BCF42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.40
#9BCF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BCF42
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BCF42#FFFFFF#000000##000000
##9BCF421.001.8411.4011.40
#FFFFFF1.841.0021.0021.00
#00000011.4021.001.001.00
##00000011.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C12D
Deuteranopia (green-blind)
#D2BE4E
Tritanopia (blue-blind)
#A0C6B3
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #9bcf42;
/* rgb */ color: rgb(155, 207, 66);
/* oklch */ color: oklch(79.1% 0.176 127.5);
Tailwind
colors: {
  custom: {
    50: '#bcde7e',
    500: '#9bcf42',
    950: '#000000',
  },
}
SCSS
$custom: #9bcf42;
$custom-light: #bcde7e;
$custom-dark: #000000;
JSON
{
  "hex": "#9bcf42",
  "rgb": {
    "r": 155,
    "g": 207,
    "b": 66
  },
  "hsl": {
    "h": 82.128,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.79131,
    "c": 0.17607,
    "h": 127.5
  },
  "luminance": 0.51988
}

Semantic roles & 50–950 ramp

primary
#9BCF42
secondary
#513580
accent
#45E37F
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#12150A
muted
#82847D

Preview Lab

Preview with #9BCF42

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

Preview Lab → · Contrast checker → · Palette generator →

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