#42C139#42C139

#42C139 is a light, highly saturated green. Relative luminance 0.396; OKLCH L 71.5% C 0.207 H 142.2°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#42C139
RGBrgb(66, 193, 57)
HSLhsl(116, 54%, 49%)
HSVhsv(116, 70%, 76%)
CMYKcmyk(65.8%, 0%, 70.5%, 24.3%)
CIE-LABlab(69.18, -59.90, 55.58)
CIE-LCHlch(69.18, 81.71, 137.14°)
OKLaboklab(71.45% -0.1631 0.1267)
OKLCHoklch(71.45% 0.207 142.2)
XYZxyz(22.0540, 39.5913, 10.3497)
Luminance0.3959 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C139 #B839C1
analogous
#86C139 #42C139 #39C174
triadic
#42C139 #3942C1 #C13942
tetradic
#42C139 #3986C1 #B839C1 #C17439
square
#42C139 #3986C1 #B839C1 #C17439
split-complementary
#42C139 #7439C1 #C13986
monochromatic
#22631D #32922B #42C139 #6DD266 #9AE095

Accessibility & contrast

On white

2.35
#42C139 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#42C139 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C139
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C139#FFFFFF#000000##000000
##42C1391.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF23
Deuteranopia (green-blind)
#B6A546
Tritanopia (blue-blind)
#27BBA6
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #42c139;
/* rgb */ color: rgb(66, 193, 57);
/* oklch */ color: oklch(71.5% 0.207 142.2);
Tailwind
colors: {
  custom: {
    50: '#87d577',
    500: '#42c139',
    950: '#000000',
  },
}
SCSS
$custom: #42c139;
$custom-light: #87d577;
$custom-dark: #000000;
JSON
{
  "hex": "#42c139",
  "rgb": {
    "r": 66,
    "g": 193,
    "b": 57
  },
  "hsl": {
    "h": 116.029,
    "s": 54.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.71451,
    "c": 0.20654,
    "h": 142.2
  },
  "luminance": 0.39594
}

Semantic roles & 50–950 ramp

primary
#42C139
secondary
#C78BCB
accent
#4ADED4
background
#F8FDF7
surface
#F0FAEE
border
#CBD3C9
text
#0D1409
muted
#7D837B

Preview Lab

Preview with #42C139

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

Preview Lab → · Contrast checker → · Palette generator →

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