#278D42#278D42

#278D42 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.8% C 0.145 H 148.2°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#278D42
RGBrgb(39, 141, 66)
HSLhsl(136, 57%, 35%)
HSVhsv(136, 72%, 55%)
CMYKcmyk(72.3%, 0%, 53.2%, 44.7%)
CIE-LABlab(51.69, -45.61, 31.60)
CIE-LCHlch(51.69, 55.48, 145.28°)
OKLaboklab(56.83% -0.1228 0.0762)
OKLCHoklch(56.83% 0.145 148.2)
XYZxyz(11.3441, 19.8732, 8.3913)
Luminance0.1987 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278D42 #8D2772
analogous
#3F8D27 #278D42 #278D75
triadic
#278D42 #42278D #8D4227
tetradic
#278D42 #273F8D #8D2772 #8D7527
square
#278D42 #273F8D #8D2772 #8D7527
split-complementary
#278D42 #75278D #8D273F
monochromatic
#0C2D15 #1A5D2C #278D42 #34BD58 #5CD27C

Accessibility & contrast

On white

4.22
#278D42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#278D42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #278D42
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278D42#FFFFFF#000000##000000
##278D421.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E803B
Deuteranopia (green-blind)
#827848
Tritanopia (blue-blind)
#008A7C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #278d42;
/* rgb */ color: rgb(39, 141, 66);
/* oklch */ color: oklch(56.8% 0.145 148.2);
Tailwind
colors: {
  custom: {
    50: '#70af78',
    500: '#278d42',
    950: '#000000',
  },
}
SCSS
$custom: #278d42;
$custom-light: #70af78;
$custom-dark: #000000;
JSON
{
  "hex": "#278d42",
  "rgb": {
    "r": 39,
    "g": 141,
    "b": 66
  },
  "hsl": {
    "h": 135.882,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56826,
    "c": 0.14454,
    "h": 148.2
  },
  "luminance": 0.19874
}

Semantic roles & 50–950 ramp

primary
#278D42
secondary
#B7599E
accent
#48B8E0
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #278D42

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

Preview Lab → · Contrast checker → · Palette generator →

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