#42AA4E#42AA4E

#42AA4E is a light, vivid green. Relative luminance 0.305; OKLCH L 65.6% C 0.162 H 145.5°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#42AA4E
RGBrgb(66, 170, 78)
HSLhsl(127, 44%, 46%)
HSVhsv(127, 61%, 67%)
CMYKcmyk(61.2%, 0%, 54.1%, 33.3%)
CIE-LABlab(62.05, -49.30, 38.31)
CIE-LCHlch(62.05, 62.43, 142.15°)
OKLaboklab(65.62% -0.1334 0.0918)
OKLCHoklch(65.62% 0.162 145.5)
XYZxyz(17.9955, 30.4560, 12.1365)
Luminance0.3046 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42AA4E #AA429E
analogous
#6AAA42 #42AA4E #42AA82
triadic
#42AA4E #4E42AA #AA4E42
tetradic
#42AA4E #426AAA #AA429E #AA8242
square
#42AA4E #426AAA #AA429E #AA8242
split-complementary
#42AA4E #8242AA #AA426A
monochromatic
#205226 #317E3A #42AA4E #66C371 #92D59A

Accessibility & contrast

On white

2.96
#42AA4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#42AA4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42AA4E
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42AA4E#FFFFFF#000000##000000
##42AA4E1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9B46
Deuteranopia (green-blind)
#9F9255
Tritanopia (blue-blind)
#2BA695
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #42aa4e;
/* rgb */ color: rgb(66, 170, 78);
/* oklch */ color: oklch(65.6% 0.162 145.5);
Tailwind
colors: {
  custom: {
    50: '#81c482',
    500: '#42aa4e',
    950: '#000000',
  },
}
SCSS
$custom: #42aa4e;
$custom-light: #81c482;
$custom-dark: #000000;
JSON
{
  "hex": "#42aa4e",
  "rgb": {
    "r": 66,
    "g": 170,
    "b": 78
  },
  "hsl": {
    "h": 126.923,
    "s": 44.068,
    "l": 46.275
  },
  "oklch": {
    "l": 0.65623,
    "c": 0.16195,
    "h": 145.5
  },
  "luminance": 0.30458
}

Semantic roles & 50–950 ramp

primary
#42AA4E
secondary
#C088BA
accent
#54C5D4
background
#F8FCF8
surface
#EFF8EF
border
#CAD1CA
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #42AA4E

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

Preview Lab → · Contrast checker → · Palette generator →

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