#42C138#42C138

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

Color values

HEX#42C138
RGBrgb(66, 193, 56)
HSLhsl(116, 55%, 49%)
HSVhsv(116, 71%, 76%)
CMYKcmyk(65.8%, 0%, 71%, 24.3%)
CIE-LABlab(69.17, -59.98, 55.95)
CIE-LCHlch(69.17, 82.03, 136.99°)
OKLaboklab(71.44% -0.1634 0.1274)
OKLCHoklch(71.44% 0.207 142.1)
XYZxyz(22.0293, 39.5815, 10.2197)
Luminance0.3958 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C138 #B738C1
analogous
#87C138 #42C138 #38C173
triadic
#42C138 #3842C1 #C13842
tetradic
#42C138 #3887C1 #B738C1 #C17338
square
#42C138 #3887C1 #B738C1 #C17338
split-complementary
#42C138 #7338C1 #C13887
monochromatic
#22621C #32922A #42C138 #6CD264 #99E094

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42C138#FFFFFF#000000##000000
##42C1381.002.368.928.92
#FFFFFF2.361.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42c138;
/* rgb */ color: rgb(66, 193, 56);
/* oklch */ color: oklch(71.4% 0.207 142.1);
Tailwind
colors: {
  custom: {
    50: '#87d576',
    500: '#42c138',
    950: '#000000',
  },
}
SCSS
$custom: #42c138;
$custom-light: #87d576;
$custom-dark: #000000;
JSON
{
  "hex": "#42c138",
  "rgb": {
    "r": 66,
    "g": 193,
    "b": 56
  },
  "hsl": {
    "h": 115.62,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.71443,
    "c": 0.20716,
    "h": 142.1
  },
  "luminance": 0.39584
}

Semantic roles & 50–950 ramp

primary
#42C138
secondary
#C68ACB
accent
#49DED3
background
#F8FDF7
surface
#F0FAED
border
#CBD3C8
text
#0D1409
muted
#7D837B

Preview Lab

Preview with #42C138

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

Preview Lab → · Contrast checker → · Palette generator →

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