#42C868#42C868

#42C868 is a light, vivid green. Relative luminance 0.435; OKLCH L 73.8% C 0.178 H 149.1°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#42C868
RGBrgb(66, 200, 104)
HSLhsl(137, 55%, 52%)
HSVhsv(137, 67%, 78%)
CMYKcmyk(67%, 0%, 48%, 21.6%)
CIE-LABlab(71.87, -56.69, 37.53)
CIE-LCHlch(71.87, 67.99, 146.49°)
OKLaboklab(73.83% -0.1528 0.0915)
OKLCHoklch(73.83% 0.178 149.1)
XYZxyz(25.3978, 43.4636, 20.1448)
Luminance0.4347 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C868 #C842A2
analogous
#5FC842 #42C868 #42C8AB
triadic
#42C868 #6842C8 #C86842
tetradic
#42C868 #425FC8 #C842A2 #C8AB42
square
#42C868 #425FC8 #C842A2 #C8AB42
split-complementary
#42C868 #AB42C8 #C8425F
monochromatic
#206F37 #2E9F4E #42C868 #71D68E #A1E4B4

Accessibility & contrast

On white

2.17
#42C868 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.69
#42C868 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C868
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C868#FFFFFF#000000##000000
##42C8681.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB760
Deuteranopia (green-blind)
#B9AC6F
Tritanopia (blue-blind)
#00C4B1
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #42c868;
/* rgb */ color: rgb(66, 200, 104);
/* oklch */ color: oklch(73.8% 0.178 149.1);
Tailwind
colors: {
  custom: {
    50: '#86da95',
    500: '#42c868',
    950: '#000000',
  },
}
SCSS
$custom: #42c868;
$custom-light: #86da95;
$custom-dark: #000000;
JSON
{
  "hex": "#42c868",
  "rgb": {
    "r": 66,
    "g": 200,
    "b": 104
  },
  "hsl": {
    "h": 137.015,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.73834,
    "c": 0.17808,
    "h": 149.1
  },
  "luminance": 0.43466
}

Semantic roles & 50–950 ramp

primary
#42C868
secondary
#D096C0
accent
#4AB4DE
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0C150D
muted
#7D837E

Preview Lab

Preview with #42C868

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

Preview Lab → · Contrast checker → · Palette generator →

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