#42A862#42A862

#42A862 is a light, vivid green. Relative luminance 0.300; OKLCH L 65.4% C 0.140 H 150.9°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#42A862
RGBrgb(66, 168, 98)
HSLhsl(139, 44%, 46%)
HSVhsv(139, 61%, 66%)
CMYKcmyk(60.7%, 0%, 41.7%, 34.1%)
CIE-LABlab(61.69, -45.36, 27.58)
CIE-LCHlch(61.69, 53.09, 148.70°)
OKLaboklab(65.42% -0.1227 0.0683)
OKLCHoklch(65.42% 0.14 150.9)
XYZxyz(18.4526, 30.0436, 16.3795)
Luminance0.3004 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A862 #A84288
analogous
#55A842 #42A862 #42A895
triadic
#42A862 #6242A8 #A86242
tetradic
#42A862 #4255A8 #A84288 #A89542
square
#42A862 #4255A8 #A84288 #A89542
split-complementary
#42A862 #9542A8 #A84255
monochromatic
#1F502F #317C48 #42A862 #65C282 #91D4A6

Accessibility & contrast

On white

3.00
#42A862 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.01
#42A862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42A862
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A862#FFFFFF#000000##000000
##42A8621.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99B5D
Deuteranopia (green-blind)
#9B9167
Tritanopia (blue-blind)
#23A597
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #42a862;
/* rgb */ color: rgb(66, 168, 98);
/* oklch */ color: oklch(65.4% 0.140 150.9);
Tailwind
colors: {
  custom: {
    50: '#80c38f',
    500: '#42a862',
    950: '#000000',
  },
}
SCSS
$custom: #42a862;
$custom-light: #80c38f;
$custom-dark: #000000;
JSON
{
  "hex": "#42a862",
  "rgb": {
    "r": 66,
    "g": 168,
    "b": 98
  },
  "hsl": {
    "h": 138.824,
    "s": 43.59,
    "l": 45.882
  },
  "oklch": {
    "l": 0.65424,
    "c": 0.14042,
    "h": 150.9
  },
  "luminance": 0.30045
}

Semantic roles & 50–950 ramp

primary
#42A862
secondary
#BF87AD
accent
#54ACD3
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B120C
muted
#7C817D

Preview Lab

Preview with #42A862

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

Preview Lab → · Contrast checker → · Palette generator →

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