#27971C#27971C

#27971C is a mid, vivid green. Relative luminance 0.226; OKLCH L 59.2% C 0.184 H 141.9°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#27971C
RGBrgb(39, 151, 28)
HSLhsl(115, 69%, 35%)
HSVhsv(115, 81%, 59%)
CMYKcmyk(74.2%, 0%, 81.5%, 40.8%)
CIE-LABlab(54.71, -53.16, 51.10)
CIE-LCHlch(54.71, 73.74, 136.13°)
OKLaboklab(59.22% -0.1448 0.1136)
OKLCHoklch(59.22% 0.184 141.9)
XYZxyz(12.1122, 22.6470, 4.8314)
Luminance0.2265 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27971C #8C1C97
analogous
#65971C #27971C #1C974E
triadic
#27971C #1C2797 #971C27
tetradic
#27971C #1C6597 #8C1C97 #974E1C
square
#27971C #1C6597 #8C1C97 #974E1C
split-complementary
#27971C #4E1C97 #971C65
monochromatic
#0C3009 #1A6312 #27971C #34CB26 #5CDE4F

Accessibility & contrast

On white

3.80
#27971C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#27971C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #27971C
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27971C#FFFFFF#000000##000000
##27971C1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#8E802B
Tritanopia (blue-blind)
#009280
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #27971c;
/* rgb */ color: rgb(39, 151, 28);
/* oklch */ color: oklch(59.2% 0.184 141.9);
Tailwind
colors: {
  custom: {
    50: '#74b763',
    500: '#27971c',
    950: '#000000',
  },
}
SCSS
$custom: #27971c;
$custom-light: #74b763;
$custom-dark: #000000;
JSON
{
  "hex": "#27971c",
  "rgb": {
    "r": 39,
    "g": 151,
    "b": 28
  },
  "hsl": {
    "h": 114.634,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.59216,
    "c": 0.18409,
    "h": 141.9
  },
  "luminance": 0.22648
}

Semantic roles & 50–950 ramp

primary
#27971C
secondary
#B74EC1
accent
#3CECDC
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #27971C

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

Preview Lab → · Contrast checker → · Palette generator →

#27971C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva