#42C152#42C152

#42C152 is a light, vivid green. Relative luminance 0.399; OKLCH L 71.7% C 0.188 H 145.3°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#42C152
RGBrgb(66, 193, 82)
HSLhsl(128, 51%, 51%)
HSVhsv(128, 66%, 76%)
CMYKcmyk(65.8%, 0%, 57.5%, 24.3%)
CIE-LABlab(69.40, -57.27, 45.16)
CIE-LCHlch(69.40, 72.93, 141.74°)
OKLaboklab(71.71% -0.1548 0.1071)
OKLCHoklch(71.71% 0.188 145.3)
XYZxyz(22.8382, 39.9050, 14.4799)
Luminance0.3991 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C152 #C142B1
analogous
#71C142 #42C152 #42C191
triadic
#42C152 #5242C1 #C15242
tetradic
#42C152 #4271C1 #C142B1 #C19142
square
#42C152 #4271C1 #C142B1 #C19142
split-complementary
#42C152 #9142C1 #C14271
monochromatic
#22672A #31953D #42C152 #70D07C #9EDFA6

Accessibility & contrast

On white

2.34
#42C152 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#42C152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C152
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C152#FFFFFF#000000##000000
##42C1521.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B047
Deuteranopia (green-blind)
#B5A55B
Tritanopia (blue-blind)
#1DBCA9
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #42c152;
/* rgb */ color: rgb(66, 193, 82);
/* oklch */ color: oklch(71.7% 0.188 145.3);
Tailwind
colors: {
  custom: {
    50: '#86d586',
    500: '#42c152',
    950: '#000000',
  },
}
SCSS
$custom: #42c152;
$custom-light: #86d586;
$custom-dark: #000000;
JSON
{
  "hex": "#42c152",
  "rgb": {
    "r": 66,
    "g": 193,
    "b": 82
  },
  "hsl": {
    "h": 127.559,
    "s": 50.598,
    "l": 50.784
  },
  "oklch": {
    "l": 0.71709,
    "c": 0.18823,
    "h": 145.3
  },
  "luminance": 0.39907
}

Semantic roles & 50–950 ramp

primary
#42C152
secondary
#CC93C4
accent
#4EC8DA
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0C140B
muted
#7D837C

Preview Lab

Preview with #42C152

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

Preview Lab → · Contrast checker → · Palette generator →

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