#42A045#42A045

#42A045 is a light, vivid green. Relative luminance 0.267; OKLCH L 62.8% C 0.157 H 144.0°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#42A045
RGBrgb(66, 160, 69)
HSLhsl(122, 42%, 44%)
HSVhsv(122, 59%, 63%)
CMYKcmyk(58.8%, 0%, 56.9%, 37.3%)
CIE-LABlab(58.72, -46.63, 38.74)
CIE-LCHlch(58.72, 60.62, 140.28°)
OKLaboklab(62.85% -0.1266 0.0921)
OKLCHoklch(62.85% 0.157 144)
XYZxyz(15.8908, 26.7281, 9.9507)
Luminance0.2673 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A045 #A0429D
analogous
#6EA042 #42A045 #42A074
triadic
#42A045 #4542A0 #A04542
tetradic
#42A045 #426EA0 #A0429D #A07442
square
#42A045 #426EA0 #A0429D #A07442
split-complementary
#42A045 #7442A0 #A0426E
monochromatic
#1E4920 #307532 #42A045 #61BE64 #8DD08F

Accessibility & contrast

On white

3.31
#42A045 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#42A045 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A045
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A045#FFFFFF#000000##000000
##42A0451.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3923C
Deuteranopia (green-blind)
#978A4C
Tritanopia (blue-blind)
#319C8C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #42a045;
/* rgb */ color: rgb(66, 160, 69);
/* oklch */ color: oklch(62.8% 0.157 144.0);
Tailwind
colors: {
  custom: {
    50: '#80bd7b',
    500: '#42a045',
    950: '#000000',
  },
}
SCSS
$custom: #42a045;
$custom-light: #80bd7b;
$custom-dark: #000000;
JSON
{
  "hex": "#42a045",
  "rgb": {
    "r": 66,
    "g": 160,
    "b": 69
  },
  "hsl": {
    "h": 121.915,
    "s": 41.593,
    "l": 44.314
  },
  "oklch": {
    "l": 0.62849,
    "c": 0.15652,
    "h": 144
  },
  "luminance": 0.2673
}

Semantic roles & 50–950 ramp

primary
#42A045
secondary
#BB83B9
accent
#56CDD1
background
#F8FBF7
surface
#EFF7EE
border
#CAD0C9
text
#0B1209
muted
#7C817B

Preview Lab

Preview with #42A045

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

Preview Lab → · Contrast checker → · Palette generator →

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