#42A657#42A657

#42A657 is a light, vivid green. Relative luminance 0.291; OKLCH L 64.7% C 0.148 H 147.8°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#42A657
RGBrgb(66, 166, 87)
HSLhsl(133, 43%, 45%)
HSVhsv(133, 60%, 65%)
CMYKcmyk(60.2%, 0%, 47.6%, 34.9%)
CIE-LABlab(60.88, -46.40, 32.32)
CIE-LCHlch(60.88, 56.55, 145.14°)
OKLaboklab(64.71% -0.1254 0.0789)
OKLCHoklch(64.71% 0.148 147.8)
XYZxyz(17.6021, 29.1171, 13.7075)
Luminance0.2912 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A657 #A64291
analogous
#5FA642 #42A657 #42A689
triadic
#42A657 #5742A6 #A65742
tetradic
#42A657 #425FA6 #A64291 #A68942
square
#42A657 #425FA6 #A64291 #A68942
split-complementary
#42A657 #8942A6 #A6425F
monochromatic
#1F4E29 #317A40 #42A657 #64C177 #90D39E

Accessibility & contrast

On white

3.08
#42A657 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#42A657 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A657
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A657#FFFFFF#000000##000000
##42A6571.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89851
Deuteranopia (green-blind)
#9B8F5C
Tritanopia (blue-blind)
#29A393
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #42a657;
/* rgb */ color: rgb(66, 166, 87);
/* oklch */ color: oklch(64.7% 0.148 147.8);
Tailwind
colors: {
  custom: {
    50: '#80c188',
    500: '#42a657',
    950: '#000000',
  },
}
SCSS
$custom: #42a657;
$custom-light: #80c188;
$custom-dark: #000000;
JSON
{
  "hex": "#42a657",
  "rgb": {
    "r": 66,
    "g": 166,
    "b": 87
  },
  "hsl": {
    "h": 132.6,
    "s": 43.103,
    "l": 45.49
  },
  "oklch": {
    "l": 0.64706,
    "c": 0.14817,
    "h": 147.8
  },
  "luminance": 0.29119
}

Semantic roles & 50–950 ramp

primary
#42A657
secondary
#BE86B2
accent
#55B8D3
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B120B
muted
#7C817C

Preview Lab

Preview with #42A657

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

Preview Lab → · Contrast checker → · Palette generator →

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