#42A550#42A550

#42A550 is a light, vivid green. Relative luminance 0.286; OKLCH L 64.3% C 0.153 H 146.2°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#42A550
RGBrgb(66, 165, 80)
HSLhsl(128, 43%, 45%)
HSVhsv(128, 60%, 65%)
CMYKcmyk(60%, 0%, 51.5%, 35.3%)
CIE-LABlab(60.47, -47.07, 35.39)
CIE-LCHlch(60.47, 58.89, 143.06°)
OKLaboklab(64.33% -0.1274 0.0854)
OKLCHoklch(64.33% 0.153 146.2)
XYZxyz(17.1488, 28.6461, 12.2134)
Luminance0.2865 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A550 #A54297
analogous
#65A542 #42A550 #42A581
triadic
#42A550 #5042A5 #A55042
tetradic
#42A550 #4265A5 #A54297 #A58142
square
#42A550 #4265A5 #A54297 #A58142
split-complementary
#42A550 #8142A5 #A54265
monochromatic
#1F4E26 #31793B #42A550 #63C171 #8FD299

Accessibility & contrast

On white

3.12
#42A550 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#42A550 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A550
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A550#FFFFFF#000000##000000
##42A5501.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79749
Deuteranopia (green-blind)
#9B8E56
Tritanopia (blue-blind)
#2CA191
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #42a550;
/* rgb */ color: rgb(66, 165, 80);
/* oklch */ color: oklch(64.3% 0.153 146.2);
Tailwind
colors: {
  custom: {
    50: '#80c083',
    500: '#42a550',
    950: '#000000',
  },
}
SCSS
$custom: #42a550;
$custom-light: #80c083;
$custom-dark: #000000;
JSON
{
  "hex": "#42a550",
  "rgb": {
    "r": 66,
    "g": 165,
    "b": 80
  },
  "hsl": {
    "h": 128.485,
    "s": 42.857,
    "l": 45.294
  },
  "oklch": {
    "l": 0.64331,
    "c": 0.15336,
    "h": 146.2
  },
  "luminance": 0.28648
}

Semantic roles & 50–950 ramp

primary
#42A550
secondary
#BD85B6
accent
#55C1D3
background
#F8FBF8
surface
#EFF7EF
border
#CAD0CA
text
#0B120B
muted
#7C817C

Preview Lab

Preview with #42A550

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

Preview Lab → · Contrast checker → · Palette generator →

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