#42A062#42A062

#42A062 is a light, vivid green. Relative luminance 0.272; OKLCH L 63.3% C 0.129 H 152.1°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#42A062
RGBrgb(66, 160, 98)
HSLhsl(140, 42%, 44%)
HSVhsv(140, 59%, 63%)
CMYKcmyk(58.8%, 0%, 38.8%, 37.3%)
CIE-LABlab(59.14, -42.05, 24.23)
CIE-LCHlch(59.14, 48.53, 150.05°)
OKLaboklab(63.33% -0.1139 0.0604)
OKLCHoklch(63.33% 0.129 152.1)
XYZxyz(17.0209, 27.1801, 15.9022)
Luminance0.2718 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A062 #A04280
analogous
#51A042 #42A062 #42A091
triadic
#42A062 #6242A0 #A06242
tetradic
#42A062 #4251A0 #A04280 #A09142
square
#42A062 #4251A0 #A04280 #A09142
split-complementary
#42A062 #9142A0 #A04251
monochromatic
#1E492D #307547 #42A062 #61BE81 #8DD0A3

Accessibility & contrast

On white

3.26
#42A062 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#42A062 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A062
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A062#FFFFFF#000000##000000
##42A0621.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0945E
Deuteranopia (green-blind)
#948B66
Tritanopia (blue-blind)
#269E90
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #42a062;
/* rgb */ color: rgb(66, 160, 98);
/* oklch */ color: oklch(63.3% 0.129 152.1);
Tailwind
colors: {
  custom: {
    50: '#7fbd8f',
    500: '#42a062',
    950: '#000000',
  },
}
SCSS
$custom: #42a062;
$custom-light: #7fbd8f;
$custom-dark: #000000;
JSON
{
  "hex": "#42a062",
  "rgb": {
    "r": 66,
    "g": 160,
    "b": 98
  },
  "hsl": {
    "h": 140.426,
    "s": 41.593,
    "l": 44.314
  },
  "oklch": {
    "l": 0.6333,
    "c": 0.12897,
    "h": 152.1
  },
  "luminance": 0.27182
}

Semantic roles & 50–950 ramp

primary
#42A062
secondary
#BB83A8
accent
#56A8D1
background
#F8FBF8
surface
#EFF6F0
border
#CAD0CB
text
#0B120C
muted
#7C817D

Preview Lab

Preview with #42A062

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

Preview Lab → · Contrast checker → · Palette generator →

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