#27872A#27872A

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

Color values

HEX#27872A
RGBrgb(39, 135, 42)
HSLhsl(122, 55%, 34%)
HSVhsv(122, 71%, 53%)
CMYKcmyk(71.1%, 0%, 68.9%, 47.1%)
CIE-LABlab(49.41, -46.52, 40.55)
CIE-LCHlch(49.41, 61.71, 138.93°)
OKLaboklab(54.85% -0.1262 0.0935)
OKLCHoklch(54.85% 0.157 143.5)
XYZxyz(9.9180, 17.9254, 5.1273)
Luminance0.1793 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27872A #872784
analogous
#548727 #27872A #27875A
triadic
#27872A #2A2787 #872A27
tetradic
#27872A #275487 #872784 #875A27
square
#27872A #275487 #872784 #875A27
split-complementary
#27872A #5A2787 #872754
monochromatic
#0C280C #19581B #27872A #35B639 #59CF5D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##27872A#FFFFFF#000000##000000
##27872A1.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)
#8A7A1D
Deuteranopia (green-blind)
#7F7233
Tritanopia (blue-blind)
#098374
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #27872a;
/* rgb */ color: rgb(39, 135, 42);
/* oklch */ color: oklch(54.8% 0.157 143.5);
Tailwind
colors: {
  custom: {
    50: '#70ab68',
    500: '#27872a',
    950: '#000000',
  },
}
SCSS
$custom: #27872a;
$custom-light: #70ab68;
$custom-dark: #000000;
JSON
{
  "hex": "#27872a",
  "rgb": {
    "r": 39,
    "g": 135,
    "b": 42
  },
  "hsl": {
    "h": 121.875,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.54846,
    "c": 0.15701,
    "h": 143.5
  },
  "luminance": 0.17926
}

Semantic roles & 50–950 ramp

primary
#27872A
secondary
#B456B1
accent
#49DADF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #27872A

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

Preview Lab → · Contrast checker → · Palette generator →

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