#42A458#42A458

#42A458 is a light, vivid green. Relative luminance 0.284; OKLCH L 64.2% C 0.144 H 148.3°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#42A458
RGBrgb(66, 164, 88)
HSLhsl(133, 43%, 45%)
HSVhsv(133, 60%, 64%)
CMYKcmyk(59.8%, 0%, 46.3%, 35.7%)
CIE-LABlab(60.26, -45.44, 31.01)
CIE-LCHlch(60.26, 55.01, 145.69°)
OKLaboklab(64.2% -0.1229 0.0759)
OKLCHoklch(64.2% 0.144 148.3)
XYZxyz(17.2825, 28.4121, 13.8040)
Luminance0.2841 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A458 #A4428E
analogous
#5DA442 #42A458 #42A489
triadic
#42A458 #5842A4 #A45842
tetradic
#42A458 #425DA4 #A4428E #A48942
square
#42A458 #425DA4 #A4428E #A48942
split-complementary
#42A458 #8942A4 #A4425D
monochromatic
#1F4D29 #307841 #42A458 #63C078 #8FD29E

Accessibility & contrast

On white

3.14
#42A458 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#42A458 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A458
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A458#FFFFFF#000000##000000
##42A4581.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69752
Deuteranopia (green-blind)
#998E5D
Tritanopia (blue-blind)
#29A192
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #42a458;
/* rgb */ color: rgb(66, 164, 88);
/* oklch */ color: oklch(64.2% 0.144 148.3);
Tailwind
colors: {
  custom: {
    50: '#80c088',
    500: '#42a458',
    950: '#000000',
  },
}
SCSS
$custom: #42a458;
$custom-light: #80c088;
$custom-dark: #000000;
JSON
{
  "hex": "#42a458",
  "rgb": {
    "r": 66,
    "g": 164,
    "b": 88
  },
  "hsl": {
    "h": 133.469,
    "s": 42.609,
    "l": 45.098
  },
  "oklch": {
    "l": 0.64196,
    "c": 0.14442,
    "h": 148.3
  },
  "luminance": 0.28414
}

Semantic roles & 50–950 ramp

primary
#42A458
secondary
#BD85B0
accent
#55B6D2
background
#F8FBF8
surface
#EFF7F0
border
#CAD0CB
text
#0B120B
muted
#7C817C

Preview Lab

Preview with #42A458

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

Preview Lab → · Contrast checker → · Palette generator →

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