#42A45F#42A45F

#42A45F is a light, vivid green. Relative luminance 0.285; OKLCH L 64.3% C 0.138 H 150.4°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#42A45F
RGBrgb(66, 164, 95)
HSLhsl(138, 43%, 45%)
HSVhsv(138, 60%, 64%)
CMYKcmyk(59.8%, 0%, 42.1%, 35.7%)
CIE-LABlab(60.37, -44.26, 27.45)
CIE-LCHlch(60.37, 52.08, 148.19°)
OKLaboklab(64.32% -0.1197 0.0679)
OKLCHoklch(64.32% 0.138 150.4)
XYZxyz(17.5865, 28.5337, 15.4050)
Luminance0.2853 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A45F #A44287
analogous
#56A442 #42A45F #42A490
triadic
#42A45F #5F42A4 #A45F42
tetradic
#42A45F #4256A4 #A44287 #A49042
square
#42A45F #4256A4 #A44287 #A49042
split-complementary
#42A45F #9042A4 #A44256
monochromatic
#1F4D2C #307846 #42A45F #63C07F #8FD2A2

Accessibility & contrast

On white

3.13
#42A45F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#42A45F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A45F
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A45F#FFFFFF#000000##000000
##42A45F1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5975A
Deuteranopia (green-blind)
#988E64
Tritanopia (blue-blind)
#26A193
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #42a45f;
/* rgb */ color: rgb(66, 164, 95);
/* oklch */ color: oklch(64.3% 0.138 150.4);
Tailwind
colors: {
  custom: {
    50: '#80c08d',
    500: '#42a45f',
    950: '#000000',
  },
}
SCSS
$custom: #42a45f;
$custom-light: #80c08d;
$custom-dark: #000000;
JSON
{
  "hex": "#42a45f",
  "rgb": {
    "r": 66,
    "g": 164,
    "b": 95
  },
  "hsl": {
    "h": 137.755,
    "s": 42.609,
    "l": 45.098
  },
  "oklch": {
    "l": 0.64321,
    "c": 0.13765,
    "h": 150.4
  },
  "luminance": 0.28535
}

Semantic roles & 50–950 ramp

primary
#42A45F
secondary
#BD85AC
accent
#55ADD2
background
#F8FBF8
surface
#EFF7F0
border
#CAD0CB
text
#0B120C
muted
#7C817D

Preview Lab

Preview with #42A45F

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

Preview Lab → · Contrast checker → · Palette generator →

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