#278F42#278F42

#278F42 is a mid, vivid green. Relative luminance 0.205; OKLCH L 57.4% C 0.147 H 148.0°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#278F42
RGBrgb(39, 143, 66)
HSLhsl(136, 57%, 36%)
HSVhsv(136, 73%, 56%)
CMYKcmyk(72.7%, 0%, 53.8%, 43.9%)
CIE-LABlab(52.36, -46.36, 32.42)
CIE-LCHlch(52.36, 56.57, 145.03°)
OKLaboklab(57.38% -0.1248 0.0781)
OKLCHoklch(57.38% 0.147 148)
XYZxyz(11.6416, 20.4683, 8.4904)
Luminance0.2047 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278F42 #8F2774
analogous
#408F27 #278F42 #278F76
triadic
#278F42 #42278F #8F4227
tetradic
#278F42 #27408F #8F2774 #8F7627
square
#278F42 #27408F #8F2774 #8F7627
split-complementary
#278F42 #76278F #8F2740
monochromatic
#0D2F16 #1A5F2C #278F42 #34BF58 #5DD37C

Accessibility & contrast

On white

4.12
#278F42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#278F42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #278F42
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278F42#FFFFFF#000000##000000
##278F421.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#91823B
Deuteranopia (green-blind)
#847A48
Tritanopia (blue-blind)
#008C7D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #278f42;
/* rgb */ color: rgb(39, 143, 66);
/* oklch */ color: oklch(57.4% 0.147 148.0);
Tailwind
colors: {
  custom: {
    50: '#71b178',
    500: '#278f42',
    950: '#000000',
  },
}
SCSS
$custom: #278f42;
$custom-light: #71b178;
$custom-dark: #000000;
JSON
{
  "hex": "#278f42",
  "rgb": {
    "r": 39,
    "g": 143,
    "b": 66
  },
  "hsl": {
    "h": 135.577,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.57379,
    "c": 0.14721,
    "h": 148
  },
  "luminance": 0.2047
}

Semantic roles & 50–950 ramp

primary
#278F42
secondary
#B85AA0
accent
#47B9E0
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #278F42

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

Preview Lab → · Contrast checker → · Palette generator →

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