#42AE5F#42AE5F

#42AE5F is a light, vivid green. Relative luminance 0.323; OKLCH L 66.9% C 0.152 H 149.3°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#42AE5F
RGBrgb(66, 174, 95)
HSLhsl(136, 45%, 47%)
HSVhsv(136, 62%, 68%)
CMYKcmyk(62.1%, 0%, 45.4%, 31.8%)
CIE-LABlab(63.55, -48.27, 31.56)
CIE-LCHlch(63.55, 57.68, 146.82°)
OKLaboklab(66.94% -0.1304 0.0775)
OKLCHoklch(66.94% 0.152 149.3)
XYZxyz(19.4470, 32.2547, 16.0252)
Luminance0.3226 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42AE5F #AE4291
analogous
#5BAE42 #42AE5F #42AE95
triadic
#42AE5F #5F42AE #AE5F42
tetradic
#42AE5F #425BAE #AE4291 #AE9542
square
#42AE5F #425BAE #AE4291 #AE9542
split-complementary
#42AE5F #9542AE #AE425B
monochromatic
#20552F #318247 #42AE5F #68C681 #94D6A6

Accessibility & contrast

On white

2.82
#42AE5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#42AE5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42AE5F
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42AE5F#FFFFFF#000000##000000
##42AE5F1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA059
Deuteranopia (green-blind)
#A19664
Tritanopia (blue-blind)
#21AB9B
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #42ae5f;
/* rgb */ color: rgb(66, 174, 95);
/* oklch */ color: oklch(66.9% 0.152 149.3);
Tailwind
colors: {
  custom: {
    50: '#81c78d',
    500: '#42ae5f',
    950: '#000000',
  },
}
SCSS
$custom: #42ae5f;
$custom-light: #81c78d;
$custom-dark: #000000;
JSON
{
  "hex": "#42ae5f",
  "rgb": {
    "r": 66,
    "g": 174,
    "b": 95
  },
  "hsl": {
    "h": 136.111,
    "s": 45,
    "l": 47.059
  },
  "oklch": {
    "l": 0.66939,
    "c": 0.15166,
    "h": 149.3
  },
  "luminance": 0.32257
}

Semantic roles & 50–950 ramp

primary
#42AE5F
secondary
#C28AB3
accent
#53B2D5
background
#F8FCF8
surface
#F0F8F0
border
#CBD1CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #42AE5F

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

Preview Lab → · Contrast checker → · Palette generator →

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