#27971F#27971F

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

Color values

HEX#27971F
RGBrgb(39, 151, 31)
HSLhsl(116, 66%, 36%)
HSVhsv(116, 79%, 59%)
CMYKcmyk(74.2%, 0%, 79.5%, 40.8%)
CIE-LABlab(54.72, -52.97, 50.17)
CIE-LCHlch(54.72, 72.96, 136.55°)
OKLaboklab(59.23% -0.1442 0.1121)
OKLCHoklch(59.23% 0.183 142.1)
XYZxyz(12.1499, 22.6621, 5.0300)
Luminance0.2266 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27971F #8F1F97
analogous
#63971F #27971F #1F9753
triadic
#27971F #1F2797 #971F27
tetradic
#27971F #1F6397 #8F1F97 #97531F
square
#27971F #1F6397 #8F1F97 #97531F
split-complementary
#27971F #531F97 #971F63
monochromatic
#0D310A #1A6415 #27971F #34CA29 #5DDC54

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##27971F#FFFFFF#000000##000000
##27971F1.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)
#8E802D
Tritanopia (blue-blind)
#009281
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #27971f;
/* rgb */ color: rgb(39, 151, 31);
/* oklch */ color: oklch(59.2% 0.183 142.1);
Tailwind
colors: {
  custom: {
    50: '#74b765',
    500: '#27971f',
    950: '#000000',
  },
}
SCSS
$custom: #27971f;
$custom-light: #74b765;
$custom-dark: #000000;
JSON
{
  "hex": "#27971f",
  "rgb": {
    "r": 39,
    "g": 151,
    "b": 31
  },
  "hsl": {
    "h": 116,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59234,
    "c": 0.18264,
    "h": 142.1
  },
  "luminance": 0.22663
}

Semantic roles & 50–950 ramp

primary
#27971F
secondary
#B852BF
accent
#3FE9DE
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #27971F

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

Preview Lab → · Contrast checker → · Palette generator →

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