#42C366#42C366

#42C366 is a light, vivid green. Relative luminance 0.411; OKLCH L 72.5% C 0.173 H 149.1°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#42C366
RGBrgb(66, 195, 102)
HSLhsl(137, 52%, 51%)
HSVhsv(137, 66%, 76%)
CMYKcmyk(66.2%, 0%, 47.7%, 23.5%)
CIE-LABlab(70.28, -55.16, 36.53)
CIE-LCHlch(70.28, 66.16, 146.49°)
OKLaboklab(72.51% -0.1487 0.0891)
OKLCHoklch(72.51% 0.173 149.1)
XYZxyz(24.1583, 41.1452, 19.2365)
Luminance0.4115 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C366 #C3429F
analogous
#5EC342 #42C366 #42C3A6
triadic
#42C366 #6642C3 #C36642
tetradic
#42C366 #425EC3 #C3429F #C3A642
square
#42C366 #425EC3 #C3429F #C3A642
split-complementary
#42C366 #A642C3 #C3425E
monochromatic
#216935 #30984D #42C366 #70D28C #9FE0B1

Accessibility & contrast

On white

2.28
#42C366 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#42C366 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C366
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C366#FFFFFF#000000##000000
##42C3661.002.289.239.23
#FFFFFF2.281.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B35F
Deuteranopia (green-blind)
#B5A76D
Tritanopia (blue-blind)
#09BFAD
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #42c366;
/* rgb */ color: rgb(66, 195, 102);
/* oklch */ color: oklch(72.5% 0.173 149.1);
Tailwind
colors: {
  custom: {
    50: '#85d693',
    500: '#42c366',
    950: '#000000',
  },
}
SCSS
$custom: #42c366;
$custom-light: #85d693;
$custom-dark: #000000;
JSON
{
  "hex": "#42c366",
  "rgb": {
    "r": 66,
    "g": 195,
    "b": 102
  },
  "hsl": {
    "h": 136.744,
    "s": 51.807,
    "l": 51.176
  },
  "oklch": {
    "l": 0.72513,
    "c": 0.17337,
    "h": 149.1
  },
  "luminance": 0.41148
}

Semantic roles & 50–950 ramp

primary
#42C366
secondary
#CD94BD
accent
#4DB3DB
background
#F8FDF9
surface
#F0FAF1
border
#CBD3CB
text
#0C140D
muted
#7D837E

Preview Lab

Preview with #42C366

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

Preview Lab → · Contrast checker → · Palette generator →

#42C366 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva