#42972F#42972F

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

Color values

HEX#42972F
RGBrgb(66, 151, 47)
HSLhsl(109, 53%, 39%)
HSVhsv(109, 69%, 59%)
CMYKcmyk(56.3%, 0%, 68.9%, 40.8%)
CIE-LABlab(55.58, -45.57, 45.27)
CIE-LCHlch(55.58, 64.23, 135.19°)
OKLaboklab(60.19% -0.1249 0.1038)
OKLCHoklch(60.19% 0.162 140.3)
XYZxyz(13.8259, 23.4956, 6.4953)
Luminance0.2350 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42972F #842F97
analogous
#76972F #42972F #2F9750
triadic
#42972F #2F4297 #972F42
tetradic
#42972F #2F7697 #842F97 #97502F
square
#42972F #2F7697 #842F97 #97502F
split-complementary
#42972F #502F97 #972F76
monochromatic
#193A12 #2E6820 #42972F #58C340 #81D26E

Accessibility & contrast

On white

3.68
#42972F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##42972F#FFFFFF#000000##000000
##42972F1.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42972f;
/* rgb */ color: rgb(66, 151, 47);
/* oklch */ color: oklch(60.2% 0.162 140.3);
Tailwind
colors: {
  custom: {
    50: '#7fb66d',
    500: '#42972f',
    950: '#000000',
  },
}
SCSS
$custom: #42972f;
$custom-light: #7fb66d;
$custom-dark: #000000;
JSON
{
  "hex": "#42972f",
  "rgb": {
    "r": 66,
    "g": 151,
    "b": 47
  },
  "hsl": {
    "h": 109.038,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.60189,
    "c": 0.16242,
    "h": 140.3
  },
  "luminance": 0.23497
}

Semantic roles & 50–950 ramp

primary
#42972F
secondary
#AB68B9
accent
#4CDCC2
background
#F8FBF6
surface
#EFF6EC
border
#CAD0C7
text
#0B1107
muted
#7C807A

Preview Lab

Preview with #42972F

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

Preview Lab → · Contrast checker → · Palette generator →

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