#42C161#42C161

#42C161 is a light, vivid green. Relative luminance 0.402; OKLCH L 71.9% C 0.175 H 148.1°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#42C161
RGBrgb(66, 193, 97)
HSLhsl(135, 51%, 51%)
HSVhsv(135, 66%, 76%)
CMYKcmyk(65.8%, 0%, 49.7%, 24.3%)
CIE-LABlab(69.58, -55.19, 38.15)
CIE-LCHlch(69.58, 67.10, 145.34°)
OKLaboklab(71.92% -0.1489 0.0925)
OKLCHoklch(71.92% 0.175 148.1)
XYZxyz(23.4727, 40.1588, 17.8213)
Luminance0.4016 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C161 #C142A2
analogous
#62C142 #42C161 #42C1A1
triadic
#42C161 #6142C1 #C16142
tetradic
#42C161 #4262C1 #C142A2 #C1A142
square
#42C161 #4262C1 #C142A2 #C1A142
split-complementary
#42C161 #A142C1 #C14262
monochromatic
#226733 #319549 #42C161 #70D088 #9EDFAE

Accessibility & contrast

On white

2.33
#42C161 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.03
#42C161 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C161
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C161#FFFFFF#000000##000000
##42C1611.002.339.039.03
#FFFFFF2.331.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B159
Deuteranopia (green-blind)
#B3A668
Tritanopia (blue-blind)
#12BDAB
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #42c161;
/* rgb */ color: rgb(66, 193, 97);
/* oklch */ color: oklch(71.9% 0.175 148.1);
Tailwind
colors: {
  custom: {
    50: '#85d590',
    500: '#42c161',
    950: '#000000',
  },
}
SCSS
$custom: #42c161;
$custom-light: #85d590;
$custom-dark: #000000;
JSON
{
  "hex": "#42c161",
  "rgb": {
    "r": 66,
    "g": 193,
    "b": 97
  },
  "hsl": {
    "h": 134.646,
    "s": 50.598,
    "l": 50.784
  },
  "oklch": {
    "l": 0.71917,
    "c": 0.17527,
    "h": 148.1
  },
  "luminance": 0.40161
}

Semantic roles & 50–950 ramp

primary
#42C161
secondary
#CC93BE
accent
#4EB8DA
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C140C
muted
#7D837D

Preview Lab

Preview with #42C161

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

Preview Lab → · Contrast checker → · Palette generator →

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