#42C458#42C458

#42C458 is a light, vivid green. Relative luminance 0.413; OKLCH L 72.6% C 0.187 H 146.2°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#42C458
RGBrgb(66, 196, 88)
HSLhsl(130, 52%, 51%)
HSVhsv(130, 66%, 77%)
CMYKcmyk(66.3%, 0%, 55.1%, 23.1%)
CIE-LABlab(70.41, -57.56, 43.54)
CIE-LCHlch(70.41, 72.17, 142.89°)
OKLaboklab(72.57% -0.1554 0.104)
OKLCHoklch(72.57% 0.187 146.2)
XYZxyz(23.7465, 41.3402, 15.9586)
Luminance0.4134 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C458 #C442AE
analogous
#6DC442 #42C458 #42C499
triadic
#42C458 #5842C4 #C45842
tetradic
#42C458 #426DC4 #C442AE #C49942
square
#42C458 #426DC4 #C442AE #C49942
split-complementary
#42C458 #9942C4 #C4426D
monochromatic
#216A2E #309942 #42C458 #71D381 #9FE1AA

Accessibility & contrast

On white

2.27
#42C458 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.27
#42C458 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C458
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C458#FFFFFF#000000##000000
##42C4581.002.279.279.27
#FFFFFF2.271.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B34E
Deuteranopia (green-blind)
#B7A860
Tritanopia (blue-blind)
#17BFAC
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #42c458;
/* rgb */ color: rgb(66, 196, 88);
/* oklch */ color: oklch(72.6% 0.187 146.2);
Tailwind
colors: {
  custom: {
    50: '#86d78a',
    500: '#42c458',
    950: '#000000',
  },
}
SCSS
$custom: #42c458;
$custom-light: #86d78a;
$custom-dark: #000000;
JSON
{
  "hex": "#42c458",
  "rgb": {
    "r": 66,
    "g": 196,
    "b": 88
  },
  "hsl": {
    "h": 130.154,
    "s": 52.419,
    "l": 51.373
  },
  "oklch": {
    "l": 0.72567,
    "c": 0.18699,
    "h": 146.2
  },
  "luminance": 0.41343
}

Semantic roles & 50–950 ramp

primary
#42C458
secondary
#CE94C4
accent
#4CC3DC
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C140C
muted
#7D837D

Preview Lab

Preview with #42C458

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

Preview Lab → · Contrast checker → · Palette generator →

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