#42B062#42B062

#42B062 is a light, vivid green. Relative luminance 0.331; OKLCH L 67.5% C 0.152 H 149.9°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#42B062
RGBrgb(66, 176, 98)
HSLhsl(137, 45%, 47%)
HSVhsv(137, 63%, 69%)
CMYKcmyk(62.5%, 0%, 44.3%, 31%)
CIE-LABlab(64.23, -48.56, 30.88)
CIE-LCHlch(64.23, 57.54, 147.55°)
OKLaboklab(67.51% -0.1311 0.076)
OKLCHoklch(67.51% 0.152 149.9)
XYZxyz(19.9752, 33.0888, 16.8870)
Luminance0.3309 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B062 #B04290
analogous
#59B042 #42B062 #42B099
triadic
#42B062 #6242B0 #B06242
tetradic
#42B062 #4259B0 #B04290 #B09942
square
#42B062 #4259B0 #B04290 #B09942
split-complementary
#42B062 #9942B0 #B04259
monochromatic
#215730 #318349 #42B062 #69C784 #95D7A8

Accessibility & contrast

On white

2.76
#42B062 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#42B062 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B062
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B062#FFFFFF#000000##000000
##42B0621.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A25C
Deuteranopia (green-blind)
#A39867
Tritanopia (blue-blind)
#1EAD9D
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #42b062;
/* rgb */ color: rgb(66, 176, 98);
/* oklch */ color: oklch(67.5% 0.152 149.9);
Tailwind
colors: {
  custom: {
    50: '#82c890',
    500: '#42b062',
    950: '#000000',
  },
}
SCSS
$custom: #42b062;
$custom-light: #82c890;
$custom-dark: #000000;
JSON
{
  "hex": "#42b062",
  "rgb": {
    "r": 66,
    "g": 176,
    "b": 98
  },
  "hsl": {
    "h": 137.455,
    "s": 45.455,
    "l": 47.451
  },
  "oklch": {
    "l": 0.67513,
    "c": 0.15157,
    "h": 149.9
  },
  "luminance": 0.33091
}

Semantic roles & 50–950 ramp

primary
#42B062
secondary
#C38BB3
accent
#53AFD5
background
#F8FCF8
surface
#F0F8F0
border
#CBD1CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #42B062

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

Preview Lab → · Contrast checker → · Palette generator →

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