#27971E#27971E

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

Color values

HEX#27971E
RGBrgb(39, 151, 30)
HSLhsl(116, 67%, 35%)
HSVhsv(116, 80%, 59%)
CMYKcmyk(74.2%, 0%, 80.1%, 40.8%)
CIE-LABlab(54.72, -53.03, 50.49)
CIE-LCHlch(54.72, 73.22, 136.41°)
OKLaboklab(59.23% -0.1444 0.1127)
OKLCHoklch(59.23% 0.183 142)
XYZxyz(12.1369, 22.6569, 4.9616)
Luminance0.2266 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27971E #8E1E97
analogous
#63971E #27971E #1E9751
triadic
#27971E #1E2797 #971E27
tetradic
#27971E #1E6397 #8E1E97 #97511E
square
#27971E #1E6397 #8E1E97 #97511E
split-complementary
#27971E #511E97 #971E63
monochromatic
#0D310A #1A6414 #27971E #34CA28 #5DDD53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #27971e;
/* rgb */ color: rgb(39, 151, 30);
/* oklch */ color: oklch(59.2% 0.183 142.0);
Tailwind
colors: {
  custom: {
    50: '#74b764',
    500: '#27971e',
    950: '#000000',
  },
}
SCSS
$custom: #27971e;
$custom-light: #74b764;
$custom-dark: #000000;
JSON
{
  "hex": "#27971e",
  "rgb": {
    "r": 39,
    "g": 151,
    "b": 30
  },
  "hsl": {
    "h": 115.537,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59227,
    "c": 0.18314,
    "h": 142
  },
  "luminance": 0.22658
}

Semantic roles & 50–950 ramp

primary
#27971E
secondary
#B851C0
accent
#3EEADD
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #27971E

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

Preview Lab → · Contrast checker → · Palette generator →

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