#42C378#42C378

#42C378 is a light, vivid green. Relative luminance 0.415; OKLCH L 72.8% C 0.157 H 153.9°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#42C378
RGBrgb(66, 195, 120)
HSLhsl(145, 52%, 51%)
HSVhsv(145, 66%, 76%)
CMYKcmyk(66.2%, 0%, 38.5%, 23.5%)
CIE-LABlab(70.55, -52.08, 27.65)
CIE-LCHlch(70.55, 58.97, 152.03°)
OKLaboklab(72.83% -0.1408 0.069)
OKLCHoklch(72.83% 0.157 153.9)
XYZxyz(25.1499, 41.5418, 24.4586)
Luminance0.4154 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C378 #C3428D
analogous
#4CC342 #42C378 #42C3B8
triadic
#42C378 #7842C3 #C37842
tetradic
#42C378 #424CC3 #C3428D #C3B842
square
#42C378 #424CC3 #C3428D #C3B842
split-complementary
#42C378 #B842C3 #C3424C
monochromatic
#21693F #30985B #42C378 #70D299 #9FE0BA

Accessibility & contrast

On white

2.26
#42C378 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.31
#42C378 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C378
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C378#FFFFFF#000000##000000
##42C3781.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B473
Deuteranopia (green-blind)
#B2A87D
Tritanopia (blue-blind)
#00C1B0
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #42c378;
/* rgb */ color: rgb(66, 195, 120);
/* oklch */ color: oklch(72.8% 0.157 153.9);
Tailwind
colors: {
  custom: {
    50: '#85d69f',
    500: '#42c378',
    950: '#000000',
  },
}
SCSS
$custom: #42c378;
$custom-light: #85d69f;
$custom-dark: #000000;
JSON
{
  "hex": "#42c378",
  "rgb": {
    "r": 66,
    "g": 195,
    "b": 120
  },
  "hsl": {
    "h": 145.116,
    "s": 51.807,
    "l": 51.176
  },
  "oklch": {
    "l": 0.72831,
    "c": 0.1568,
    "h": 153.9
  },
  "luminance": 0.41545
}

Semantic roles & 50–950 ramp

primary
#42C378
secondary
#CD94B5
accent
#4DA0DB
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140E
muted
#7D837E

Preview Lab

Preview with #42C378

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

Preview Lab → · Contrast checker → · Palette generator →

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