#42CA5F#42CA5F

#42CA5F is a light, vivid green. Relative luminance 0.442; OKLCH L 74.2% C 0.189 H 147.2°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#42CA5F
RGBrgb(66, 202, 95)
HSLhsl(133, 56%, 53%)
HSVhsv(133, 67%, 79%)
CMYKcmyk(67.3%, 0%, 53%, 20.8%)
CIE-LABlab(72.38, -58.75, 42.57)
CIE-LCHlch(72.38, 72.55, 144.07°)
OKLaboklab(74.22% -0.1584 0.1023)
OKLCHoklch(74.22% 0.189 147.2)
XYZxyz(25.4310, 44.2228, 18.0199)
Luminance0.4423 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42CA5F #CA42AD
analogous
#69CA42 #42CA5F #42CAA3
triadic
#42CA5F #5F42CA #CA5F42
tetradic
#42CA5F #4269CA #CA42AD #CAA342
square
#42CA5F #4269CA #CA42AD #CAA342
split-complementary
#42CA5F #A342CA #CA4269
monochromatic
#207231 #2DA246 #42CA5F #72D787 #A2E5B0

Accessibility & contrast

On white

2.13
#42CA5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.85
#42CA5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42CA5F
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42CA5F#FFFFFF#000000##000000
##42CA5F1.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB855
Deuteranopia (green-blind)
#BCAD67
Tritanopia (blue-blind)
#09C6B2
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #42ca5f;
/* rgb */ color: rgb(66, 202, 95);
/* oklch */ color: oklch(74.2% 0.189 147.2);
Tailwind
colors: {
  custom: {
    50: '#87db8f',
    500: '#42ca5f',
    950: '#000000',
  },
}
SCSS
$custom: #42ca5f;
$custom-light: #87db8f;
$custom-dark: #000000;
JSON
{
  "hex": "#42ca5f",
  "rgb": {
    "r": 66,
    "g": 202,
    "b": 95
  },
  "hsl": {
    "h": 132.794,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.74216,
    "c": 0.18857,
    "h": 147.2
  },
  "luminance": 0.44226
}

Semantic roles & 50–950 ramp

primary
#42CA5F
secondary
#D196C5
accent
#48BFDF
background
#F8FDF8
surface
#F0FBF0
border
#CBD4CB
text
#0D150C
muted
#7D837D

Preview Lab

Preview with #42CA5F

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

Preview Lab → · Contrast checker → · Palette generator →

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