#27871C#27871C

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

Color values

HEX#27871C
RGBrgb(39, 135, 28)
HSLhsl(114, 66%, 32%)
HSVhsv(114, 79%, 53%)
CMYKcmyk(71.1%, 0%, 79.3%, 47.1%)
CIE-LABlab(49.30, -47.75, 45.94)
CIE-LCHlch(49.30, 66.26, 136.11°)
OKLaboklab(54.73% -0.1302 0.1029)
OKLCHoklch(54.73% 0.166 141.7)
XYZxyz(9.7097, 17.8421, 4.0305)
Luminance0.1784 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27871C #7C1C87
analogous
#5D871C #27871C #1C8747
triadic
#27871C #1C2787 #871C27
tetradic
#27871C #1C5D87 #7C1C87 #87471C
square
#27871C #1C5D87 #7C1C87 #87471C
split-complementary
#27871C #471C87 #871C5D
monochromatic
#0A2207 #185411 #27871C #36BA27 #54D845

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##27871C#FFFFFF#000000##FFFFFF
##27871C1.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)
#8A7A02
Deuteranopia (green-blind)
#7F7228
Tritanopia (blue-blind)
#0F8373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #27871c;
/* rgb */ color: rgb(39, 135, 28);
/* oklch */ color: oklch(54.7% 0.166 141.7);
Tailwind
colors: {
  custom: {
    50: '#71ab61',
    500: '#27871c',
    950: '#000000',
  },
}
SCSS
$custom: #27871c;
$custom-light: #71ab61;
$custom-dark: #000000;
JSON
{
  "hex": "#27871c",
  "rgb": {
    "r": 39,
    "g": 135,
    "b": 28
  },
  "hsl": {
    "h": 113.832,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.5473,
    "c": 0.16593,
    "h": 141.7
  },
  "luminance": 0.17843
}

Semantic roles & 50–950 ramp

primary
#27871C
secondary
#AE45BA
accent
#3FE9D7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #27871C

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

Preview Lab → · Contrast checker → · Palette generator →

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