#9DC042#9DC042

#9DC042 is a light, vivid yellow-green. Relative luminance 0.453; OKLCH L 75.8% C 0.156 H 123.5°. Best body text is #000000 at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#9DC042
RGBrgb(157, 192, 66)
HSLhsl(77, 50%, 51%)
HSVhsv(77, 66%, 75%)
CMYKcmyk(18.2%, 0%, 65.6%, 24.7%)
CIE-LABlab(73.06, -29.87, 57.37)
CIE-LCHlch(73.06, 64.68, 117.50°)
OKLaboklab(75.76% -0.0862 0.1304)
OKLCHoklch(75.76% 0.156 123.5)
XYZxyz(33.7379, 45.2605, 12.1119)
Luminance0.4526 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DC042 #6542C0
analogous
#C0A442 #9DC042 #5EC042
triadic
#9DC042 #429DC0 #C0429D
tetradic
#9DC042 #42C0A4 #6542C0 #C0425E
square
#9DC042 #42C0A4 #6542C0 #C0425E
split-complementary
#9DC042 #425EC0 #A442C0
monochromatic
#536622 #789431 #9DC042 #B5CF70 #CDDF9E

Accessibility & contrast

On white

2.09
#9DC042 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.05
#9DC042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DC042
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DC042#FFFFFF#000000##000000
##9DC0421.002.0910.0510.05
#FFFFFF2.091.0021.0021.00
#00000010.0521.001.001.00
##00000010.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9dc042;
/* rgb */ color: rgb(157, 192, 66);
/* oklch */ color: oklch(75.8% 0.156 123.5);
Tailwind
colors: {
  custom: {
    50: '#bdd37d',
    500: '#9dc042',
    950: '#000000',
  },
}
SCSS
$custom: #9dc042;
$custom-light: #bdd37d;
$custom-dark: #000000;
JSON
{
  "hex": "#9dc042",
  "rgb": {
    "r": 157,
    "g": 192,
    "b": 66
  },
  "hsl": {
    "h": 76.667,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.75757,
    "c": 0.15634,
    "h": 123.5
  },
  "luminance": 0.45261
}

Semantic roles & 50–950 ramp

primary
#9DC042
secondary
#A293CB
accent
#4EDA75
background
#FBFCF7
surface
#F7F9EE
border
#D0D2C9
text
#12140A
muted
#81827C

Preview Lab

Preview with #9DC042

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

Preview Lab → · Contrast checker → · Palette generator →

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