#42C057#42C057

#42C057 is a light, vivid green. Relative luminance 0.395; OKLCH L 71.5% C 0.183 H 146.2°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#42C057
RGBrgb(66, 192, 87)
HSLhsl(130, 50%, 51%)
HSVhsv(130, 66%, 75%)
CMYKcmyk(65.6%, 0%, 54.7%, 24.7%)
CIE-LABlab(69.14, -56.25, 42.49)
CIE-LCHlch(69.14, 70.50, 142.93°)
OKLaboklab(71.51% -0.1519 0.1016)
OKLCHoklch(71.51% 0.183 146.2)
XYZxyz(22.8152, 39.5433, 15.4452)
Luminance0.3955 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C057 #C042AB
analogous
#6CC042 #42C057 #42C096
triadic
#42C057 #5742C0 #C05742
tetradic
#42C057 #426CC0 #C042AB #C09642
square
#42C057 #426CC0 #C042AB #C09642
split-complementary
#42C057 #9642C0 #C0426C
monochromatic
#22662D #319442 #42C057 #70CF80 #9EDFA9

Accessibility & contrast

On white

2.36
#42C057 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#42C057 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C057
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C057#FFFFFF#000000##000000
##42C0571.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AF4D
Deuteranopia (green-blind)
#B3A55F
Tritanopia (blue-blind)
#1BBCA8
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #42c057;
/* rgb */ color: rgb(66, 192, 87);
/* oklch */ color: oklch(71.5% 0.183 146.2);
Tailwind
colors: {
  custom: {
    50: '#85d489',
    500: '#42c057',
    950: '#000000',
  },
}
SCSS
$custom: #42c057;
$custom-light: #85d489;
$custom-dark: #000000;
JSON
{
  "hex": "#42c057",
  "rgb": {
    "r": 66,
    "g": 192,
    "b": 87
  },
  "hsl": {
    "h": 130,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.71514,
    "c": 0.18277,
    "h": 146.2
  },
  "luminance": 0.39546
}

Semantic roles & 50–950 ramp

primary
#42C057
secondary
#CB93C2
accent
#4EC2DA
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C140C
muted
#7D837D

Preview Lab

Preview with #42C057

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

Preview Lab → · Contrast checker → · Palette generator →

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