#278C52#278C52

#278C52 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.8% C 0.128 H 153.6°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#278C52
RGBrgb(39, 140, 82)
HSLhsl(146, 56%, 35%)
HSVhsv(146, 72%, 55%)
CMYKcmyk(72.1%, 0%, 41.4%, 45.1%)
CIE-LABlab(51.61, -42.42, 22.90)
CIE-LCHlch(51.61, 48.20, 151.64°)
OKLaboklab(56.83% -0.1144 0.0569)
OKLCHoklch(56.83% 0.128 153.6)
XYZxyz(11.7367, 19.7954, 11.1833)
Luminance0.1980 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278C52 #8C2761
analogous
#2E8C27 #278C52 #278C85
triadic
#278C52 #52278C #8C5227
tetradic
#278C52 #272E8C #8C2761 #8C8527
square
#278C52 #272E8C #8C2761 #8C8527
split-complementary
#278C52 #85278C #8C272E
monochromatic
#0C2C1A #1A5C36 #278C52 #34BC6E #5CD28E

Accessibility & contrast

On white

4.23
#278C52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#278C52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #278C52
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278C52#FFFFFF#000000##000000
##278C521.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C804E
Deuteranopia (green-blind)
#7F7756
Tritanopia (blue-blind)
#008A7E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #278c52;
/* rgb */ color: rgb(39, 140, 82);
/* oklch */ color: oklch(56.8% 0.128 153.6);
Tailwind
colors: {
  custom: {
    50: '#70ae83',
    500: '#278c52',
    950: '#000000',
  },
}
SCSS
$custom: #278c52;
$custom-light: #70ae83;
$custom-dark: #000000;
JSON
{
  "hex": "#278c52",
  "rgb": {
    "r": 39,
    "g": 140,
    "b": 82
  },
  "hsl": {
    "h": 145.545,
    "s": 56.425,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56833,
    "c": 0.1278,
    "h": 153.6
  },
  "luminance": 0.19797
}

Semantic roles & 50–950 ramp

primary
#278C52
secondary
#B7588E
accent
#489FE0
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #278C52

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

Preview Lab → · Contrast checker → · Palette generator →

#278C52 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva