#42B758#42B758

#42B758 is a light, vivid green. Relative luminance 0.357; OKLCH L 69.2% C 0.170 H 146.9°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#42B758
RGBrgb(66, 183, 88)
HSLhsl(131, 47%, 49%)
HSVhsv(131, 64%, 72%)
CMYKcmyk(63.9%, 0%, 51.9%, 28.2%)
CIE-LABlab(66.31, -52.81, 38.57)
CIE-LCHlch(66.31, 65.39, 143.86°)
OKLaboklab(69.18% -0.1426 0.093)
OKLCHoklch(69.18% 0.17 146.9)
XYZxyz(20.9403, 35.7277, 15.0232)
Luminance0.3573 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B758 #B742A1
analogous
#67B742 #42B758 #42B793
triadic
#42B758 #5842B7 #B75842
tetradic
#42B758 #4267B7 #B742A1 #B79342
square
#42B758 #4267B7 #B742A1 #B79342
split-complementary
#42B758 #9342B7 #B74267
monochromatic
#225D2D #328A42 #42B758 #6CCA7E #99DAA5

Accessibility & contrast

On white

2.58
#42B758 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#42B758 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B758
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B758#FFFFFF#000000##000000
##42B7581.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A750
Deuteranopia (green-blind)
#AB9D5F
Tritanopia (blue-blind)
#20B3A1
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #42b758;
/* rgb */ color: rgb(66, 183, 88);
/* oklch */ color: oklch(69.2% 0.170 146.9);
Tailwind
colors: {
  custom: {
    50: '#83ce89',
    500: '#42b758',
    950: '#000000',
  },
}
SCSS
$custom: #42b758;
$custom-light: #83ce89;
$custom-dark: #000000;
JSON
{
  "hex": "#42b758",
  "rgb": {
    "r": 66,
    "g": 183,
    "b": 88
  },
  "hsl": {
    "h": 131.282,
    "s": 46.988,
    "l": 48.824
  },
  "oklch": {
    "l": 0.6918,
    "c": 0.17025,
    "h": 146.9
  },
  "luminance": 0.3573
}

Semantic roles & 50–950 ramp

primary
#42B758
secondary
#C68FBC
accent
#51BED7
background
#F8FCF8
surface
#F0F9F0
border
#CBD2CB
text
#0C140C
muted
#7D827D

Preview Lab

Preview with #42B758

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

Preview Lab → · Contrast checker → · Palette generator →

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