#27874F#27874F

#27874F is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.4% C 0.124 H 153.4°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#27874F
RGBrgb(39, 135, 79)
HSLhsl(145, 55%, 34%)
HSVhsv(145, 71%, 53%)
CMYKcmyk(71.1%, 0%, 41.5%, 47.1%)
CIE-LABlab(49.89, -40.98, 22.30)
CIE-LCHlch(49.89, 46.66, 151.45°)
OKLaboklab(55.4% -0.1106 0.0554)
OKLCHoklch(55.4% 0.124 153.4)
XYZxyz(10.9110, 18.3226, 10.3572)
Luminance0.1832 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27874F #87275F
analogous
#2F8727 #27874F #27877F
triadic
#27874F #4F2787 #874F27
tetradic
#27874F #272F87 #87275F #877F27
square
#27874F #272F87 #87275F #877F27
split-complementary
#27874F #7F2787 #87272F
monochromatic
#0C2817 #195833 #27874F #35B66B #59CF8A

Accessibility & contrast

On white

4.50
#27874F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#27874F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #27874F
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27874F#FFFFFF#000000##000000
##27874F1.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#877C4B
Deuteranopia (green-blind)
#7B7353
Tritanopia (blue-blind)
#008579
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #27874f;
/* rgb */ color: rgb(39, 135, 79);
/* oklch */ color: oklch(55.4% 0.124 153.4);
Tailwind
colors: {
  custom: {
    50: '#6eab81',
    500: '#27874f',
    950: '#000000',
  },
}
SCSS
$custom: #27874f;
$custom-light: #6eab81;
$custom-dark: #000000;
JSON
{
  "hex": "#27874f",
  "rgb": {
    "r": 39,
    "g": 135,
    "b": 79
  },
  "hsl": {
    "h": 145,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.55398,
    "c": 0.12372,
    "h": 153.4
  },
  "luminance": 0.18324
}

Semantic roles & 50–950 ramp

primary
#27874F
secondary
#B4568D
accent
#49A0DF
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #27874F

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

Preview Lab → · Contrast checker → · Palette generator →

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