#42CB7E#42CB7E

#42CB7E is a light, vivid green. Relative luminance 0.454; OKLCH L 75.0% C 0.162 H 154.4°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#42CB7E
RGBrgb(66, 203, 126)
HSLhsl(146, 57%, 53%)
HSVhsv(146, 67%, 80%)
CMYKcmyk(67.5%, 0%, 37.9%, 20.4%)
CIE-LABlab(73.14, -54.05, 27.96)
CIE-LCHlch(73.14, 60.85, 152.65°)
OKLaboklab(74.99% -0.1461 0.0699)
OKLCHoklch(74.99% 0.162 154.4)
XYZxyz(27.3662, 45.3735, 27.0503)
Luminance0.4538 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42CB7E #CB428F
analogous
#4BCB42 #42CB7E #42CBC2
triadic
#42CB7E #7E42CB #CB7E42
tetradic
#42CB7E #424BCB #CB428F #CBC242
square
#42CB7E #424BCB #CB428F #CBC242
split-complementary
#42CB7E #C242CB #CB424B
monochromatic
#207344 #2DA361 #42CB7E #72D89F #A2E5C0

Accessibility & contrast

On white

2.08
#42CB7E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.08
#42CB7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42CB7E
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42CB7E#FFFFFF#000000##000000
##42CB7E1.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBBB79
Deuteranopia (green-blind)
#B9AF83
Tritanopia (blue-blind)
#00C9B8
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #42cb7e;
/* rgb */ color: rgb(66, 203, 126);
/* oklch */ color: oklch(75.0% 0.162 154.4);
Tailwind
colors: {
  custom: {
    50: '#86dca4',
    500: '#42cb7e',
    950: '#000000',
  },
}
SCSS
$custom: #42cb7e;
$custom-light: #86dca4;
$custom-dark: #000000;
JSON
{
  "hex": "#42cb7e",
  "rgb": {
    "r": 66,
    "g": 203,
    "b": 126
  },
  "hsl": {
    "h": 146.277,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.7499,
    "c": 0.16194,
    "h": 154.4
  },
  "luminance": 0.45376
}

Semantic roles & 50–950 ramp

primary
#42CB7E
secondary
#D297B8
accent
#489DE0
background
#F8FDFA
surface
#F0FBF4
border
#CBD4CE
text
#0C150F
muted
#7D837F

Preview Lab

Preview with #42CB7E

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

Preview Lab → · Contrast checker → · Palette generator →

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