#42AE4E#42AE4E

#42AE4E is a light, vivid green. Relative luminance 0.320; OKLCH L 66.7% C 0.167 H 145.3°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#42AE4E
RGBrgb(66, 174, 78)
HSLhsl(127, 45%, 47%)
HSVhsv(127, 62%, 68%)
CMYKcmyk(62.1%, 0%, 55.2%, 31.8%)
CIE-LABlab(63.33, -50.82, 39.85)
CIE-LCHlch(63.33, 64.58, 141.90°)
OKLaboklab(66.68% -0.1375 0.0952)
OKLCHoklch(66.68% 0.167 145.3)
XYZxyz(18.7568, 31.9786, 12.3903)
Luminance0.3198 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42AE4E #AE42A2
analogous
#6CAE42 #42AE4E #42AE84
triadic
#42AE4E #4E42AE #AE4E42
tetradic
#42AE4E #426CAE #AE42A2 #AE8442
square
#42AE4E #426CAE #AE42A2 #AE8442
split-complementary
#42AE4E #8442AE #AE426C
monochromatic
#205526 #31823A #42AE4E #68C672 #94D69B

Accessibility & contrast

On white

2.84
#42AE4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#42AE4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42AE4E
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42AE4E#FFFFFF#000000##000000
##42AE4E1.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19F45
Deuteranopia (green-blind)
#A39655
Tritanopia (blue-blind)
#29AA98
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #42ae4e;
/* rgb */ color: rgb(66, 174, 78);
/* oklch */ color: oklch(66.7% 0.167 145.3);
Tailwind
colors: {
  custom: {
    50: '#82c782',
    500: '#42ae4e',
    950: '#000000',
  },
}
SCSS
$custom: #42ae4e;
$custom-light: #82c782;
$custom-dark: #000000;
JSON
{
  "hex": "#42ae4e",
  "rgb": {
    "r": 66,
    "g": 174,
    "b": 78
  },
  "hsl": {
    "h": 126.667,
    "s": 45,
    "l": 47.059
  },
  "oklch": {
    "l": 0.66677,
    "c": 0.16726,
    "h": 145.3
  },
  "luminance": 0.3198
}

Semantic roles & 50–950 ramp

primary
#42AE4E
secondary
#C28ABC
accent
#53C6D5
background
#F8FCF8
surface
#F0F8EF
border
#CBD1CA
text
#0B130B
muted
#7C827C

Preview Lab

Preview with #42AE4E

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

Preview Lab → · Contrast checker → · Palette generator →

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