#9BC042#9BC042

#9BC042 is a light, vivid yellow-green. Relative luminance 0.451; OKLCH L 75.6% C 0.157 H 124.2°. Best body text is #000000 at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#9BC042
RGBrgb(155, 192, 66)
HSLhsl(78, 50%, 51%)
HSVhsv(78, 66%, 75%)
CMYKcmyk(19.3%, 0%, 65.6%, 24.7%)
CIE-LABlab(72.93, -30.66, 57.19)
CIE-LCHlch(72.93, 64.89, 118.20°)
OKLaboklab(75.62% -0.0883 0.1301)
OKLCHoklch(75.62% 0.157 124.2)
XYZxyz(33.3508, 45.0609, 12.0938)
Luminance0.4506 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BC042 #6742C0
analogous
#C0A642 #9BC042 #5CC042
triadic
#9BC042 #429BC0 #C0429B
tetradic
#9BC042 #42C0A6 #6742C0 #C0425C
square
#9BC042 #42C0A6 #6742C0 #C0425C
split-complementary
#9BC042 #425CC0 #A642C0
monochromatic
#526622 #779431 #9BC042 #B3CF70 #CCDF9E

Accessibility & contrast

On white

2.10
#9BC042 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.01
#9BC042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BC042
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BC042#FFFFFF#000000##000000
##9BC0421.002.1010.0110.01
#FFFFFF2.101.0021.0021.00
#00000010.0121.001.001.00
##00000010.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB431
Deuteranopia (green-blind)
#C6B34C
Tritanopia (blue-blind)
#A2B7A6
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #9bc042;
/* rgb */ color: rgb(155, 192, 66);
/* oklch */ color: oklch(75.6% 0.157 124.2);
Tailwind
colors: {
  custom: {
    50: '#bcd37d',
    500: '#9bc042',
    950: '#000000',
  },
}
SCSS
$custom: #9bc042;
$custom-light: #bcd37d;
$custom-dark: #000000;
JSON
{
  "hex": "#9bc042",
  "rgb": {
    "r": 155,
    "g": 192,
    "b": 66
  },
  "hsl": {
    "h": 77.619,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.75617,
    "c": 0.15722,
    "h": 124.2
  },
  "luminance": 0.45061
}

Semantic roles & 50–950 ramp

primary
#9BC042
secondary
#A393CB
accent
#4EDA77
background
#FBFCF7
surface
#F7F9EE
border
#D0D2C9
text
#12140A
muted
#81827C

Preview Lab

Preview with #9BC042

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

Preview Lab → · Contrast checker → · Palette generator →

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