#27972A#27972A

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

Color values

HEX#27972A
RGBrgb(39, 151, 42)
HSLhsl(122, 59%, 37%)
HSVhsv(122, 74%, 59%)
CMYKcmyk(74.2%, 0%, 72.2%, 40.8%)
CIE-LABlab(54.79, -52.10, 46.26)
CIE-LCHlch(54.79, 69.67, 138.40°)
OKLaboklab(59.32% -0.1413 0.1055)
OKLCHoklch(59.32% 0.176 143.3)
XYZxyz(12.3205, 22.7303, 5.9281)
Luminance0.2273 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27972A #972794
analogous
#5C9727 #27972A #279762
triadic
#27972A #2A2797 #972A27
tetradic
#27972A #275C97 #972794 #976227
square
#27972A #275C97 #972794 #976227
split-complementary
#27972A #622797 #97275C
monochromatic
#0E360F #1A661C #27972A #34C838 #62D665

Accessibility & contrast

On white

3.79
#27972A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##27972A#FFFFFF#000000##000000
##27972A1.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8818
Deuteranopia (green-blind)
#8E8035
Tritanopia (blue-blind)
#009381
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #27972a;
/* rgb */ color: rgb(39, 151, 42);
/* oklch */ color: oklch(59.3% 0.176 143.3);
Tailwind
colors: {
  custom: {
    50: '#74b76a',
    500: '#27972a',
    950: '#000000',
  },
}
SCSS
$custom: #27972a;
$custom-light: #74b76a;
$custom-dark: #000000;
JSON
{
  "hex": "#27972a",
  "rgb": {
    "r": 39,
    "g": 151,
    "b": 42
  },
  "hsl": {
    "h": 121.607,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.59315,
    "c": 0.17629,
    "h": 143.3
  },
  "luminance": 0.22732
}

Semantic roles & 50–950 ramp

primary
#27972A
secondary
#BC5EB9
accent
#46DEE2
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #27972A

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

Preview Lab → · Contrast checker → · Palette generator →

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