#42C261#42C261

#42C261 is a light, vivid green. Relative luminance 0.406; OKLCH L 72.2% C 0.177 H 148.1°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#42C261
RGBrgb(66, 194, 97)
HSLhsl(135, 51%, 51%)
HSVhsv(135, 66%, 76%)
CMYKcmyk(66%, 0%, 50%, 23.9%)
CIE-LABlab(69.90, -55.56, 38.54)
CIE-LCHlch(69.90, 67.62, 145.25°)
OKLaboklab(72.18% -0.1498 0.0934)
OKLCHoklch(72.18% 0.177 148.1)
XYZxyz(23.6945, 40.6024, 17.8953)
Luminance0.4061 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C261 #C242A3
analogous
#63C242 #42C261 #42C2A1
triadic
#42C261 #6142C2 #C26142
tetradic
#42C261 #4263C2 #C242A3 #C2A142
square
#42C261 #4263C2 #C242A3 #C2A142
split-complementary
#42C261 #A142C2 #C24263
monochromatic
#226833 #319649 #42C261 #70D188 #9FE0AE

Accessibility & contrast

On white

2.30
#42C261 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.12
#42C261 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C261
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C261#FFFFFF#000000##000000
##42C2611.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B159
Deuteranopia (green-blind)
#B4A668
Tritanopia (blue-blind)
#11BEAB
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #42c261;
/* rgb */ color: rgb(66, 194, 97);
/* oklch */ color: oklch(72.2% 0.177 148.1);
Tailwind
colors: {
  custom: {
    50: '#85d590',
    500: '#42c261',
    950: '#000000',
  },
}
SCSS
$custom: #42c261;
$custom-light: #85d590;
$custom-dark: #000000;
JSON
{
  "hex": "#42c261",
  "rgb": {
    "r": 66,
    "g": 194,
    "b": 97
  },
  "hsl": {
    "h": 134.531,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.72176,
    "c": 0.17657,
    "h": 148.1
  },
  "luminance": 0.40605
}

Semantic roles & 50–950 ramp

primary
#42C261
secondary
#CC94BF
accent
#4DB8DB
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C140D
muted
#7D837D

Preview Lab

Preview with #42C261

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

Preview Lab → · Contrast checker → · Palette generator →

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