#27872B#27872B

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

Color values

HEX#27872B
RGBrgb(39, 135, 43)
HSLhsl(123, 55%, 34%)
HSVhsv(123, 71%, 53%)
CMYKcmyk(71.1%, 0%, 68.1%, 47.1%)
CIE-LABlab(49.41, -46.42, 40.12)
CIE-LCHlch(49.41, 61.35, 139.17°)
OKLaboklab(54.86% -0.1258 0.0927)
OKLCHoklch(54.86% 0.156 143.6)
XYZxyz(9.9361, 17.9326, 5.2227)
Luminance0.1793 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27872B #872783
analogous
#538727 #27872B #27875B
triadic
#27872B #2B2787 #872B27
tetradic
#27872B #275387 #872783 #875B27
square
#27872B #275387 #872783 #875B27
split-complementary
#27872B #5B2787 #872753
monochromatic
#0C280D #19581C #27872B #35B63A #59CF5E

Accessibility & contrast

On white

4.58
#27872B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##27872B#FFFFFF#000000##000000
##27872B1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A1F
Deuteranopia (green-blind)
#7F7233
Tritanopia (blue-blind)
#088374
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #27872b;
/* rgb */ color: rgb(39, 135, 43);
/* oklch */ color: oklch(54.9% 0.156 143.6);
Tailwind
colors: {
  custom: {
    50: '#70ab69',
    500: '#27872b',
    950: '#000000',
  },
}
SCSS
$custom: #27872b;
$custom-light: #70ab69;
$custom-dark: #000000;
JSON
{
  "hex": "#27872b",
  "rgb": {
    "r": 39,
    "g": 135,
    "b": 43
  },
  "hsl": {
    "h": 122.5,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.54856,
    "c": 0.15627,
    "h": 143.6
  },
  "luminance": 0.17934
}

Semantic roles & 50–950 ramp

primary
#27872B
secondary
#B456B0
accent
#49D8DF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #27872B

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

Preview Lab → · Contrast checker → · Palette generator →

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