#27871D#27871D

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

Color values

HEX#27871D
RGBrgb(39, 135, 29)
HSLhsl(114, 65%, 32%)
HSVhsv(114, 79%, 53%)
CMYKcmyk(71.1%, 0%, 78.5%, 47.1%)
CIE-LABlab(49.31, -47.67, 45.60)
CIE-LCHlch(49.31, 65.97, 136.28°)
OKLaboklab(54.74% -0.13 0.1023)
OKLCHoklch(54.74% 0.165 141.8)
XYZxyz(9.7219, 17.8469, 4.0946)
Luminance0.1785 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27871D #7D1D87
analogous
#5C871D #27871D #1D8748
triadic
#27871D #1D2787 #871D27
tetradic
#27871D #1D5C87 #7D1D87 #87481D
square
#27871D #1D5C87 #7D1D87 #87481D
split-complementary
#27871D #481D87 #871D5C
monochromatic
#0A2207 #185512 #27871D #36B928 #55D747

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##27871D#FFFFFF#000000##FFFFFF
##27871D1.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)
#8A7A04
Deuteranopia (green-blind)
#7F7229
Tritanopia (blue-blind)
#0F8373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #27871d;
/* rgb */ color: rgb(39, 135, 29);
/* oklch */ color: oklch(54.7% 0.165 141.8);
Tailwind
colors: {
  custom: {
    50: '#70ab61',
    500: '#27871d',
    950: '#000000',
  },
}
SCSS
$custom: #27871d;
$custom-light: #70ab61;
$custom-dark: #000000;
JSON
{
  "hex": "#27871d",
  "rgb": {
    "r": 39,
    "g": 135,
    "b": 29
  },
  "hsl": {
    "h": 114.34,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54736,
    "c": 0.16539,
    "h": 141.8
  },
  "luminance": 0.17848
}

Semantic roles & 50–950 ramp

primary
#27871D
secondary
#AF46B9
accent
#40E8D8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #27871D

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

Preview Lab → · Contrast checker → · Palette generator →

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