#42C181#42C181

#42C181 is a light, vivid green. Relative luminance 0.409; OKLCH L 72.5% C 0.146 H 157.3°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#42C181
RGBrgb(66, 193, 129)
HSLhsl(150, 51%, 51%)
HSVhsv(150, 66%, 76%)
CMYKcmyk(65.8%, 0%, 33.2%, 24.3%)
CIE-LABlab(70.09, -49.55, 22.28)
CIE-LCHlch(70.09, 54.33, 155.78°)
OKLaboklab(72.5% -0.1346 0.0562)
OKLCHoklch(72.5% 0.146 157.3)
XYZxyz(25.2768, 40.8805, 27.3232)
Luminance0.4088 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C181 #C14282
analogous
#42C142 #42C181 #42C1C1
triadic
#42C181 #8142C1 #C18142
tetradic
#42C181 #4242C1 #C14282 #C1C142
square
#42C181 #4242C1 #C14282 #C1C142
split-complementary
#42C181 #C142C1 #C14242
monochromatic
#226744 #319563 #42C181 #70D0A0 #9EDFBE

Accessibility & contrast

On white

2.29
#42C181 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.18
#42C181 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C181
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C181#FFFFFF#000000##000000
##42C1811.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0B27D
Deuteranopia (green-blind)
#AFA785
Tritanopia (blue-blind)
#00C0B0
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #42c181;
/* rgb */ color: rgb(66, 193, 129);
/* oklch */ color: oklch(72.5% 0.146 157.3);
Tailwind
colors: {
  custom: {
    50: '#85d5a6',
    500: '#42c181',
    950: '#000000',
  },
}
SCSS
$custom: #42c181;
$custom-light: #85d5a6;
$custom-dark: #000000;
JSON
{
  "hex": "#42c181",
  "rgb": {
    "r": 66,
    "g": 193,
    "b": 129
  },
  "hsl": {
    "h": 149.764,
    "s": 50.598,
    "l": 50.784
  },
  "oklch": {
    "l": 0.72503,
    "c": 0.14588,
    "h": 157.3
  },
  "luminance": 0.40883
}

Semantic roles & 50–950 ramp

primary
#42C181
secondary
#CC93B0
accent
#4E94DA
background
#F8FDFA
surface
#F0FAF4
border
#CBD3CE
text
#0C140F
muted
#7D837F

Preview Lab

Preview with #42C181

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

Preview Lab → · Contrast checker → · Palette generator →

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