#27872F#27872F

#27872F is a mid, vivid green. Relative luminance 0.180; OKLCH L 54.9% C 0.153 H 144.3°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#27872F
RGBrgb(39, 135, 47)
HSLhsl(125, 55%, 34%)
HSVhsv(125, 71%, 53%)
CMYKcmyk(71.1%, 0%, 65.2%, 47.1%)
CIE-LABlab(49.45, -45.97, 38.35)
CIE-LCHlch(49.45, 59.87, 140.17°)
OKLaboklab(54.9% -0.1244 0.0894)
OKLCHoklch(54.9% 0.153 144.3)
XYZxyz(10.0131, 17.9634, 5.6284)
Luminance0.1797 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27872F #87277F
analogous
#4F8727 #27872F #27875F
triadic
#27872F #2F2787 #872F27
tetradic
#27872F #274F87 #87277F #875F27
square
#27872F #274F87 #87277F #875F27
split-complementary
#27872F #5F2787 #87274F
monochromatic
#0C280E #19581E #27872F #35B640 #59CF63

Accessibility & contrast

On white

4.57
#27872F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#27872F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #27872F
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27872F#FFFFFF#000000##000000
##27872F1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A25
Deuteranopia (green-blind)
#7E7337
Tritanopia (blue-blind)
#068374
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #27872f;
/* rgb */ color: rgb(39, 135, 47);
/* oklch */ color: oklch(54.9% 0.153 144.3);
Tailwind
colors: {
  custom: {
    50: '#70ab6b',
    500: '#27872f',
    950: '#000000',
  },
}
SCSS
$custom: #27872f;
$custom-light: #70ab6b;
$custom-dark: #000000;
JSON
{
  "hex": "#27872f",
  "rgb": {
    "r": 39,
    "g": 135,
    "b": 47
  },
  "hsl": {
    "h": 125,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.54899,
    "c": 0.15319,
    "h": 144.3
  },
  "luminance": 0.17965
}

Semantic roles & 50–950 ramp

primary
#27872F
secondary
#B456AC
accent
#49D2DF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #27872F

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

Preview Lab → · Contrast checker → · Palette generator →

#27872F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva