#27972B#27972B

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

Color values

HEX#27972B
RGBrgb(39, 151, 43)
HSLhsl(122, 59%, 37%)
HSVhsv(122, 74%, 59%)
CMYKcmyk(74.2%, 0%, 71.5%, 40.8%)
CIE-LABlab(54.80, -52.01, 45.86)
CIE-LCHlch(54.80, 69.34, 138.59°)
OKLaboklab(59.32% -0.141 0.1048)
OKLCHoklch(59.32% 0.176 143.4)
XYZxyz(12.3386, 22.7376, 6.0236)
Luminance0.2274 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27972B #972793
analogous
#5B9727 #27972B #279763
triadic
#27972B #2B2797 #972B27
tetradic
#27972B #275B97 #972793 #976327
square
#27972B #275B97 #972793 #976327
split-complementary
#27972B #632797 #97275B
monochromatic
#0E360F #1A661D #27972B #34C839 #62D666

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##27972B#FFFFFF#000000##000000
##27972B1.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)
#9A881A
Deuteranopia (green-blind)
#8D8036
Tritanopia (blue-blind)
#009382
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #27972b;
/* rgb */ color: rgb(39, 151, 43);
/* oklch */ color: oklch(59.3% 0.176 143.4);
Tailwind
colors: {
  custom: {
    50: '#74b76b',
    500: '#27972b',
    950: '#000000',
  },
}
SCSS
$custom: #27972b;
$custom-light: #74b76b;
$custom-dark: #000000;
JSON
{
  "hex": "#27972b",
  "rgb": {
    "r": 39,
    "g": 151,
    "b": 43
  },
  "hsl": {
    "h": 122.143,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.59324,
    "c": 0.17565,
    "h": 143.4
  },
  "luminance": 0.22739
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #27972B

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

Preview Lab → · Contrast checker → · Palette generator →

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