#27972D#27972D

#27972D is a mid, vivid green. Relative luminance 0.228; OKLCH L 59.3% C 0.174 H 143.6°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#27972D
RGBrgb(39, 151, 45)
HSLhsl(123, 59%, 37%)
HSVhsv(123, 74%, 59%)
CMYKcmyk(74.2%, 0%, 70.2%, 40.8%)
CIE-LABlab(54.82, -51.82, 45.06)
CIE-LCHlch(54.82, 68.67, 138.99°)
OKLaboklab(59.34% -0.1404 0.1033)
OKLCHoklch(59.34% 0.174 143.6)
XYZxyz(12.3762, 22.7526, 6.2216)
Luminance0.2275 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27972D #972791
analogous
#599727 #27972D #279765
triadic
#27972D #2D2797 #972D27
tetradic
#27972D #275997 #972791 #976527
square
#27972D #275997 #972791 #976527
split-complementary
#27972D #652797 #972759
monochromatic
#0E3610 #1A661F #27972D #34C83B #62D668

Accessibility & contrast

On white

3.78
#27972D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#27972D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #27972D
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27972D#FFFFFF#000000##000000
##27972D1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A891E
Deuteranopia (green-blind)
#8D8037
Tritanopia (blue-blind)
#009382
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #27972d;
/* rgb */ color: rgb(39, 151, 45);
/* oklch */ color: oklch(59.3% 0.174 143.6);
Tailwind
colors: {
  custom: {
    50: '#73b76c',
    500: '#27972d',
    950: '#000000',
  },
}
SCSS
$custom: #27972d;
$custom-light: #73b76c;
$custom-dark: #000000;
JSON
{
  "hex": "#27972d",
  "rgb": {
    "r": 39,
    "g": 151,
    "b": 45
  },
  "hsl": {
    "h": 123.214,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.59342,
    "c": 0.17431,
    "h": 143.6
  },
  "luminance": 0.22754
}

Semantic roles & 50–950 ramp

primary
#27972D
secondary
#BC5EB7
accent
#46DAE2
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #27972D

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

Preview Lab → · Contrast checker → · Palette generator →

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