#27872E#27872E

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

Color values

HEX#27872E
RGBrgb(39, 135, 46)
HSLhsl(124, 55%, 34%)
HSVhsv(124, 71%, 53%)
CMYKcmyk(71.1%, 0%, 65.9%, 47.1%)
CIE-LABlab(49.44, -46.09, 38.80)
CIE-LCHlch(49.44, 60.24, 139.91°)
OKLaboklab(54.89% -0.1248 0.0902)
OKLCHoklch(54.89% 0.154 144.1)
XYZxyz(9.9932, 17.9555, 5.5233)
Luminance0.1796 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27872E #872780
analogous
#508727 #27872E #27875E
triadic
#27872E #2E2787 #872E27
tetradic
#27872E #275087 #872780 #875E27
square
#27872E #275087 #872780 #875E27
split-complementary
#27872E #5E2787 #872750
monochromatic
#0C280E #19581E #27872E #35B63E #59CF62

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##27872E#FFFFFF#000000##000000
##27872E1.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)
#8A7A23
Deuteranopia (green-blind)
#7E7336
Tritanopia (blue-blind)
#078374
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #27872e;
/* rgb */ color: rgb(39, 135, 46);
/* oklch */ color: oklch(54.9% 0.154 144.1);
Tailwind
colors: {
  custom: {
    50: '#70ab6b',
    500: '#27872e',
    950: '#000000',
  },
}
SCSS
$custom: #27872e;
$custom-light: #70ab6b;
$custom-dark: #000000;
JSON
{
  "hex": "#27872e",
  "rgb": {
    "r": 39,
    "g": 135,
    "b": 46
  },
  "hsl": {
    "h": 124.375,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.54888,
    "c": 0.15398,
    "h": 144.1
  },
  "luminance": 0.17957
}

Semantic roles & 50–950 ramp

primary
#27872E
secondary
#B456AD
accent
#49D4DF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #27872E

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

Preview Lab → · Contrast checker → · Palette generator →

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