#42972D#42972D

#42972D is a mid, vivid green. Relative luminance 0.235; OKLCH L 60.2% C 0.164 H 140.0°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#42972D
RGBrgb(66, 151, 45)
HSLhsl(108, 54%, 38%)
HSVhsv(108, 70%, 59%)
CMYKcmyk(56.3%, 0%, 70.2%, 40.8%)
CIE-LABlab(55.56, -45.75, 46.08)
CIE-LCHlch(55.56, 64.94, 134.80°)
OKLaboklab(60.17% -0.1255 0.1053)
OKLCHoklch(60.17% 0.164 140)
XYZxyz(13.7864, 23.4798, 6.2877)
Luminance0.2348 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42972D #822D97
analogous
#77972D #42972D #2D974D
triadic
#42972D #2D4297 #972D42
tetradic
#42972D #2D7797 #822D97 #974D2D
square
#42972D #2D7797 #822D97 #974D2D
split-complementary
#42972D #4D2D97 #972D77
monochromatic
#193911 #2D681F #42972D #57C53C #80D36B

Accessibility & contrast

On white

3.69
#42972D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#42972D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42972D
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42972D#FFFFFF#000000##000000
##42972D1.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8A1D
Deuteranopia (green-blind)
#908237
Tritanopia (blue-blind)
#389282
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #42972d;
/* rgb */ color: rgb(66, 151, 45);
/* oklch */ color: oklch(60.2% 0.164 140.0);
Tailwind
colors: {
  custom: {
    50: '#7fb66c',
    500: '#42972d',
    950: '#000000',
  },
}
SCSS
$custom: #42972d;
$custom-light: #7fb66c;
$custom-dark: #000000;
JSON
{
  "hex": "#42972d",
  "rgb": {
    "r": 66,
    "g": 151,
    "b": 45
  },
  "hsl": {
    "h": 108.113,
    "s": 54.082,
    "l": 38.431
  },
  "oklch": {
    "l": 0.60171,
    "c": 0.16382,
    "h": 140
  },
  "luminance": 0.23481
}

Semantic roles & 50–950 ramp

primary
#42972D
secondary
#A966BA
accent
#4ADDC0
background
#F8FBF6
surface
#EFF6EC
border
#CAD0C7
text
#0B1107
muted
#7C807A

Preview Lab

Preview with #42972D

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

Preview Lab → · Contrast checker → · Palette generator →

#42972D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva