#27874B#27874B

#27874B is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.3% C 0.128 H 151.8°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#27874B
RGBrgb(39, 135, 75)
HSLhsl(143, 55%, 34%)
HSVhsv(143, 71%, 53%)
CMYKcmyk(71.1%, 0%, 44.4%, 47.1%)
CIE-LABlab(49.82, -41.74, 24.42)
CIE-LCHlch(49.82, 48.36, 149.67°)
OKLaboklab(55.32% -0.1125 0.0603)
OKLCHoklch(55.32% 0.128 151.8)
XYZxyz(10.7698, 18.2661, 9.6134)
Luminance0.1827 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27874B #872763
analogous
#338727 #27874B #27877B
triadic
#27874B #4B2787 #874B27
tetradic
#27874B #273387 #872763 #877B27
square
#27874B #273387 #872763 #877B27
split-complementary
#27874B #7B2787 #872733
monochromatic
#0C2816 #195831 #27874B #35B665 #59CF85

Accessibility & contrast

On white

4.51
#27874B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#27874B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #27874B
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27874B#FFFFFF#000000##000000
##27874B1.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#877B47
Deuteranopia (green-blind)
#7C734F
Tritanopia (blue-blind)
#008578
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #27874b;
/* rgb */ color: rgb(39, 135, 75);
/* oklch */ color: oklch(55.3% 0.128 151.8);
Tailwind
colors: {
  custom: {
    50: '#6fab7e',
    500: '#27874b',
    950: '#000000',
  },
}
SCSS
$custom: #27874b;
$custom-light: #6fab7e;
$custom-dark: #000000;
JSON
{
  "hex": "#27874b",
  "rgb": {
    "r": 39,
    "g": 135,
    "b": 75
  },
  "hsl": {
    "h": 142.5,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.5532,
    "c": 0.12765,
    "h": 151.8
  },
  "luminance": 0.18267
}

Semantic roles & 50–950 ramp

primary
#27874B
secondary
#B45691
accent
#49A7DF
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #27874B

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

Preview Lab → · Contrast checker → · Palette generator →

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