#42B366#42B366

#42B366 is a light, vivid green. Relative luminance 0.344; OKLCH L 68.4% C 0.152 H 150.7°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#42B366
RGBrgb(66, 179, 102)
HSLhsl(139, 46%, 48%)
HSVhsv(139, 63%, 70%)
CMYKcmyk(63.1%, 0%, 43%, 29.8%)
CIE-LABlab(65.24, -49.06, 30.10)
CIE-LCHlch(65.24, 57.55, 148.47°)
OKLaboklab(68.37% -0.1325 0.0743)
OKLCHoklch(68.37% 0.152 150.7)
XYZxyz(20.7635, 34.3557, 18.1049)
Luminance0.3436 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B366 #B3428F
analogous
#57B342 #42B366 #42B39E
triadic
#42B366 #6642B3 #B36642
tetradic
#42B366 #4257B3 #B3428F #B39E42
square
#42B366 #4257B3 #B3428F #B39E42
split-complementary
#42B366 #9E42B3 #B34257
monochromatic
#215A33 #32864D #42B366 #6AC888 #97D9AC

Accessibility & contrast

On white

2.67
#42B366 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#42B366 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B366
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B366#FFFFFF#000000##000000
##42B3661.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A560
Deuteranopia (green-blind)
#A59A6B
Tritanopia (blue-blind)
#1AB0A0
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #42b366;
/* rgb */ color: rgb(66, 179, 102);
/* oklch */ color: oklch(68.4% 0.152 150.7);
Tailwind
colors: {
  custom: {
    50: '#82cb92',
    500: '#42b366',
    950: '#000000',
  },
}
SCSS
$custom: #42b366;
$custom-light: #82cb92;
$custom-dark: #000000;
JSON
{
  "hex": "#42b366",
  "rgb": {
    "r": 66,
    "g": 179,
    "b": 102
  },
  "hsl": {
    "h": 139.115,
    "s": 46.122,
    "l": 48.039
  },
  "oklch": {
    "l": 0.68366,
    "c": 0.15191,
    "h": 150.7
  },
  "luminance": 0.34358
}

Semantic roles & 50–950 ramp

primary
#42B366
secondary
#C48CB3
accent
#52ACD6
background
#F8FCF9
surface
#F0F8F1
border
#CBD1CB
text
#0C130D
muted
#7D827E

Preview Lab

Preview with #42B366

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

Preview Lab → · Contrast checker → · Palette generator →

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