#27872C#27872C

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

Color values

HEX#27872C
RGBrgb(39, 135, 44)
HSLhsl(123, 55%, 34%)
HSVhsv(123, 71%, 53%)
CMYKcmyk(71.1%, 0%, 67.4%, 47.1%)
CIE-LABlab(49.42, -46.31, 39.68)
CIE-LCHlch(49.42, 60.99, 139.41°)
OKLaboklab(54.87% -0.1255 0.0919)
OKLCHoklch(54.87% 0.156 143.8)
XYZxyz(9.9547, 17.9401, 5.3205)
Luminance0.1794 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27872C #872782
analogous
#528727 #27872C #27875C
triadic
#27872C #2C2787 #872C27
tetradic
#27872C #275287 #872782 #875C27
square
#27872C #275287 #872782 #875C27
split-complementary
#27872C #5C2787 #872752
monochromatic
#0C280D #19581D #27872C #35B63B #59CF5F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##27872C#FFFFFF#000000##000000
##27872C1.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)
#8A7A20
Deuteranopia (green-blind)
#7E7234
Tritanopia (blue-blind)
#088374
Achromatopsia (no color)
#757575

Design tokens & code

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

Semantic roles & 50–950 ramp

primary
#27872C
secondary
#B456AF
accent
#49D7DF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #27872C

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

Preview Lab → · Contrast checker → · Palette generator →

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