#42B862#42B862

#42B862 is a light, vivid green. Relative luminance 0.363; OKLCH L 69.6% C 0.162 H 149.1°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#42B862
RGBrgb(66, 184, 98)
HSLhsl(136, 47%, 49%)
HSVhsv(136, 64%, 72%)
CMYKcmyk(64.1%, 0%, 46.7%, 27.8%)
CIE-LABlab(66.76, -51.66, 34.11)
CIE-LCHlch(66.76, 61.90, 146.56°)
OKLaboklab(69.6% -0.1394 0.0834)
OKLCHoklch(69.6% 0.162 149.1)
XYZxyz(21.5903, 36.3189, 17.4253)
Luminance0.3632 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B862 #B84298
analogous
#5DB842 #42B862 #42B89D
triadic
#42B862 #6242B8 #B86242
tetradic
#42B862 #425DB8 #B84298 #B89D42
square
#42B862 #425DB8 #B84298 #B89D42
split-complementary
#42B862 #9D42B8 #B8425D
monochromatic
#225E32 #328B4A #42B862 #6DCB86 #9ADBAB

Accessibility & contrast

On white

2.54
#42B862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#42B862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B862
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B862#FFFFFF#000000##000000
##42B8621.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A95B
Deuteranopia (green-blind)
#AB9E68
Tritanopia (blue-blind)
#19B5A4
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #42b862;
/* rgb */ color: rgb(66, 184, 98);
/* oklch */ color: oklch(69.6% 0.162 149.1);
Tailwind
colors: {
  custom: {
    50: '#83ce90',
    500: '#42b862',
    950: '#000000',
  },
}
SCSS
$custom: #42b862;
$custom-light: #83ce90;
$custom-dark: #000000;
JSON
{
  "hex": "#42b862",
  "rgb": {
    "r": 66,
    "g": 184,
    "b": 98
  },
  "hsl": {
    "h": 136.271,
    "s": 47.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.69597,
    "c": 0.16245,
    "h": 149.1
  },
  "luminance": 0.36321
}

Semantic roles & 50–950 ramp

primary
#42B862
secondary
#C78FB8
accent
#51B3D7
background
#F8FCF8
surface
#F0F9F0
border
#CBD2CB
text
#0C140C
muted
#7D827D

Preview Lab

Preview with #42B862

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

Preview Lab → · Contrast checker → · Palette generator →

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