#42AB58#42AB58

#42AB58 is a light, vivid green. Relative luminance 0.310; OKLCH L 66.0% C 0.154 H 147.7°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#42AB58
RGBrgb(66, 171, 88)
HSLhsl(133, 44%, 46%)
HSVhsv(133, 61%, 67%)
CMYKcmyk(61.4%, 0%, 48.5%, 32.9%)
CIE-LABlab(62.50, -48.22, 33.84)
CIE-LCHlch(62.50, 58.90, 144.94°)
OKLaboklab(66.04% -0.1303 0.0823)
OKLCHoklch(66.04% 0.154 147.7)
XYZxyz(18.5699, 30.9869, 14.2331)
Luminance0.3099 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42AB58 #AB4295
analogous
#61AB42 #42AB58 #42AB8D
triadic
#42AB58 #5842AB #AB5842
tetradic
#42AB58 #4261AB #AB4295 #AB8D42
square
#42AB58 #4261AB #AB4295 #AB8D42
split-complementary
#42AB58 #8D42AB #AB4261
monochromatic
#20532B #317F41 #42AB58 #66C47A #92D5A0

Accessibility & contrast

On white

2.92
#42AB58 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#42AB58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42AB58
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42AB58#FFFFFF#000000##000000
##42AB581.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9D51
Deuteranopia (green-blind)
#9F935E
Tritanopia (blue-blind)
#26A897
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #42ab58;
/* rgb */ color: rgb(66, 171, 88);
/* oklch */ color: oklch(66.0% 0.154 147.7);
Tailwind
colors: {
  custom: {
    50: '#81c588',
    500: '#42ab58',
    950: '#000000',
  },
}
SCSS
$custom: #42ab58;
$custom-light: #81c588;
$custom-dark: #000000;
JSON
{
  "hex": "#42ab58",
  "rgb": {
    "r": 66,
    "g": 171,
    "b": 88
  },
  "hsl": {
    "h": 132.571,
    "s": 44.304,
    "l": 46.471
  },
  "oklch": {
    "l": 0.66037,
    "c": 0.15414,
    "h": 147.7
  },
  "luminance": 0.30989
}

Semantic roles & 50–950 ramp

primary
#42AB58
secondary
#C088B5
accent
#54B9D4
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B130B
muted
#7C827C

Preview Lab

Preview with #42AB58

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

Preview Lab → · Contrast checker → · Palette generator →

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