#42BC5F#42BC5F

#42BC5F is a light, vivid green. Relative luminance 0.380; OKLCH L 70.6% C 0.171 H 148.1°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#42BC5F
RGBrgb(66, 188, 95)
HSLhsl(134, 48%, 50%)
HSVhsv(134, 65%, 74%)
CMYKcmyk(64.9%, 0%, 49.5%, 26.3%)
CIE-LABlab(67.98, -53.64, 37.16)
CIE-LCHlch(67.98, 65.25, 145.29°)
OKLaboklab(70.59% -0.1447 0.0902)
OKLCHoklch(70.59% 0.171 148.1)
XYZxyz(22.2939, 37.9486, 16.9742)
Luminance0.3795 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42BC5F #BC429F
analogous
#62BC42 #42BC5F #42BC9C
triadic
#42BC5F #5F42BC #BC5F42
tetradic
#42BC5F #4262BC #BC429F #BC9C42
square
#42BC5F #4262BC #BC429F #BC9C42
split-complementary
#42BC5F #9C42BC #BC4262
monochromatic
#226131 #328F48 #42BC5F #6FCC85 #9CDCAB

Accessibility & contrast

On white

2.44
#42BC5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#42BC5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42BC5F
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42BC5F#FFFFFF#000000##000000
##42BC5F1.002.448.598.59
#FFFFFF2.441.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAC57
Deuteranopia (green-blind)
#AFA266
Tritanopia (blue-blind)
#18B8A6
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #42bc5f;
/* rgb */ color: rgb(66, 188, 95);
/* oklch */ color: oklch(70.6% 0.171 148.1);
Tailwind
colors: {
  custom: {
    50: '#84d18e',
    500: '#42bc5f',
    950: '#000000',
  },
}
SCSS
$custom: #42bc5f;
$custom-light: #84d18e;
$custom-dark: #000000;
JSON
{
  "hex": "#42bc5f",
  "rgb": {
    "r": 66,
    "g": 188,
    "b": 95
  },
  "hsl": {
    "h": 134.262,
    "s": 48.031,
    "l": 49.804
  },
  "oklch": {
    "l": 0.70589,
    "c": 0.17053,
    "h": 148.1
  },
  "luminance": 0.37951
}

Semantic roles & 50–950 ramp

primary
#42BC5F
secondary
#C991BB
accent
#50B7D8
background
#F8FCF8
surface
#F0F9F0
border
#CBD2CB
text
#0C140C
muted
#7D827D

Preview Lab

Preview with #42BC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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