#42B762#42B762

#42B762 is a light, vivid green. Relative luminance 0.359; OKLCH L 69.3% C 0.161 H 149.2°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#42B762
RGBrgb(66, 183, 98)
HSLhsl(136, 47%, 49%)
HSVhsv(136, 64%, 72%)
CMYKcmyk(63.9%, 0%, 46.4%, 28.2%)
CIE-LABlab(66.45, -51.28, 33.71)
CIE-LCHlch(66.45, 61.36, 146.68°)
OKLaboklab(69.34% -0.1384 0.0825)
OKLCHoklch(69.34% 0.161 149.2)
XYZxyz(21.3833, 35.9049, 17.3563)
Luminance0.3591 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B762 #B74297
analogous
#5DB742 #42B762 #42B79D
triadic
#42B762 #6242B7 #B76242
tetradic
#42B762 #425DB7 #B74297 #B79D42
square
#42B762 #425DB7 #B74297 #B79D42
split-complementary
#42B762 #9D42B7 #B7425D
monochromatic
#225D32 #328A4A #42B762 #6CCA86 #99DAAB

Accessibility & contrast

On white

2.57
#42B762 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#42B762 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B762
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B762#FFFFFF#000000##000000
##42B7621.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A85B
Deuteranopia (green-blind)
#AA9D68
Tritanopia (blue-blind)
#1AB4A3
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #42b762;
/* rgb */ color: rgb(66, 183, 98);
/* oklch */ color: oklch(69.3% 0.161 149.2);
Tailwind
colors: {
  custom: {
    50: '#83cd90',
    500: '#42b762',
    950: '#000000',
  },
}
SCSS
$custom: #42b762;
$custom-light: #83cd90;
$custom-dark: #000000;
JSON
{
  "hex": "#42b762",
  "rgb": {
    "r": 66,
    "g": 183,
    "b": 98
  },
  "hsl": {
    "h": 136.41,
    "s": 46.988,
    "l": 48.824
  },
  "oklch": {
    "l": 0.69337,
    "c": 0.16111,
    "h": 149.2
  },
  "luminance": 0.35907
}

Semantic roles & 50–950 ramp

primary
#42B762
secondary
#C68FB7
accent
#51B2D7
background
#F8FCF8
surface
#F0F9F0
border
#CBD2CB
text
#0C140C
muted
#7D827D

Preview Lab

Preview with #42B762

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

Preview Lab → · Contrast checker → · Palette generator →

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