#27871A#27871A

#27871A is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.7% C 0.167 H 141.5°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#27871A
RGBrgb(39, 135, 26)
HSLhsl(113, 68%, 32%)
HSVhsv(113, 81%, 53%)
CMYKcmyk(71.1%, 0%, 80.7%, 47.1%)
CIE-LABlab(49.29, -47.88, 46.60)
CIE-LCHlch(49.29, 66.81, 135.78°)
OKLaboklab(54.72% -0.1307 0.104)
OKLCHoklch(54.72% 0.167 141.5)
XYZxyz(9.6866, 17.8328, 3.9087)
Luminance0.1783 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27871A #7A1A87
analogous
#5E871A #27871A #1A8744
triadic
#27871A #1A2787 #871A27
tetradic
#27871A #1A5E87 #7A1A87 #87441A
square
#27871A #1A5E87 #7A1A87 #87441A
split-complementary
#27871A #441A87 #871A5E
monochromatic
#092006 #185410 #27871A #36BA24 #53DA41

Accessibility & contrast

On white

4.60
#27871A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#27871A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #27871A
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27871A#FFFFFF#000000##FFFFFF
##27871A1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A00
Deuteranopia (green-blind)
#7F7227
Tritanopia (blue-blind)
#108373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #27871a;
/* rgb */ color: rgb(39, 135, 26);
/* oklch */ color: oklch(54.7% 0.167 141.5);
Tailwind
colors: {
  custom: {
    50: '#71ab60',
    500: '#27871a',
    950: '#000000',
  },
}
SCSS
$custom: #27871a;
$custom-light: #71ab60;
$custom-dark: #000000;
JSON
{
  "hex": "#27871a",
  "rgb": {
    "r": 39,
    "g": 135,
    "b": 26
  },
  "hsl": {
    "h": 112.844,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54717,
    "c": 0.16697,
    "h": 141.5
  },
  "luminance": 0.17834
}

Semantic roles & 50–950 ramp

primary
#27871A
secondary
#AC42BA
accent
#3DEBD6
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #27871A

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

Preview Lab → · Contrast checker → · Palette generator →

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