#27873F#27873F

#27873F is a mid, vivid green. Relative luminance 0.181; OKLCH L 55.1% C 0.139 H 147.9°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#27873F
RGBrgb(39, 135, 63)
HSLhsl(135, 55%, 34%)
HSVhsv(135, 71%, 53%)
CMYKcmyk(71.1%, 0%, 53.3%, 47.1%)
CIE-LABlab(49.64, -43.79, 30.64)
CIE-LCHlch(49.64, 53.45, 145.02°)
OKLaboklab(55.11% -0.118 0.0739)
OKLCHoklch(55.11% 0.139 147.9)
XYZxyz(10.3971, 18.1170, 7.6507)
Luminance0.1812 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27873F #87276F
analogous
#3F8727 #27873F #27876F
triadic
#27873F #3F2787 #873F27
tetradic
#27873F #273F87 #87276F #876F27
square
#27873F #273F87 #87276F #876F27
split-complementary
#27873F #6F2787 #87273F
monochromatic
#0C2813 #195829 #27873F #35B655 #59CF77

Accessibility & contrast

On white

4.54
#27873F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#27873F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #27873F
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27873F#FFFFFF#000000##000000
##27873F1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#887B39
Deuteranopia (green-blind)
#7D7344
Tritanopia (blue-blind)
#008476
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #27873f;
/* rgb */ color: rgb(39, 135, 63);
/* oklch */ color: oklch(55.1% 0.139 147.9);
Tailwind
colors: {
  custom: {
    50: '#6fab76',
    500: '#27873f',
    950: '#000000',
  },
}
SCSS
$custom: #27873f;
$custom-light: #6fab76;
$custom-dark: #000000;
JSON
{
  "hex": "#27873f",
  "rgb": {
    "r": 39,
    "g": 135,
    "b": 63
  },
  "hsl": {
    "h": 135,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.55114,
    "c": 0.13923,
    "h": 147.9
  },
  "luminance": 0.18118
}

Semantic roles & 50–950 ramp

primary
#27873F
secondary
#B4569C
accent
#49B9DF
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #27873F

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

Preview Lab → · Contrast checker → · Palette generator →

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