#27871E#27871E

#27871E is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.7% C 0.165 H 141.9°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#27871E
RGBrgb(39, 135, 30)
HSLhsl(115, 64%, 32%)
HSVhsv(115, 78%, 53%)
CMYKcmyk(71.1%, 0%, 77.8%, 47.1%)
CIE-LABlab(49.32, -47.60, 45.25)
CIE-LCHlch(49.32, 65.68, 136.45°)
OKLaboklab(54.74% -0.1297 0.1017)
OKLCHoklch(54.74% 0.165 141.9)
XYZxyz(9.7345, 17.8520, 4.1608)
Luminance0.1785 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27871E #7E1E87
analogous
#5C871E #27871E #1E8749
triadic
#27871E #1E2787 #871E27
tetradic
#27871E #1E5C87 #7E1E87 #87491E
square
#27871E #1E5C87 #7E1E87 #87491E
split-complementary
#27871E #491E87 #871E5C
monochromatic
#0A2308 #195513 #27871E #35B929 #55D749

Accessibility & contrast

On white

4.59
#27871E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #27871E
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27871E#FFFFFF#000000##FFFFFF
##27871E1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A06
Deuteranopia (green-blind)
#7F722A
Tritanopia (blue-blind)
#0E8373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #27871e;
/* rgb */ color: rgb(39, 135, 30);
/* oklch */ color: oklch(54.7% 0.165 141.9);
Tailwind
colors: {
  custom: {
    50: '#70ab62',
    500: '#27871e',
    950: '#000000',
  },
}
SCSS
$custom: #27871e;
$custom-light: #70ab62;
$custom-dark: #000000;
JSON
{
  "hex": "#27871e",
  "rgb": {
    "r": 39,
    "g": 135,
    "b": 30
  },
  "hsl": {
    "h": 114.857,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54744,
    "c": 0.16484,
    "h": 141.9
  },
  "luminance": 0.17853
}

Semantic roles & 50–950 ramp

primary
#27871E
secondary
#AF48B9
accent
#41E7D8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #27871E

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

Preview Lab → · Contrast checker → · Palette generator →

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