#278B40#278B40

#278B40 is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.2% C 0.144 H 147.8°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#278B40
RGBrgb(39, 139, 64)
HSLhsl(135, 56%, 35%)
HSVhsv(135, 72%, 55%)
CMYKcmyk(71.9%, 0%, 54%, 45.5%)
CIE-LABlab(51.00, -45.16, 31.78)
CIE-LCHlch(51.00, 55.22, 144.86°)
OKLaboklab(56.24% -0.1216 0.0765)
OKLCHoklch(56.24% 0.144 147.8)
XYZxyz(10.9939, 19.2655, 7.9887)
Luminance0.1927 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278B40 #8B2772
analogous
#408B27 #278B40 #278B72
triadic
#278B40 #40278B #8B4027
tetradic
#278B40 #27408B #8B2772 #8B7227
square
#278B40 #27408B #8B2772 #8B7227
split-complementary
#278B40 #72278B #8B2740
monochromatic
#0C2B14 #1A5B2A #278B40 #34BB56 #5BD179

Accessibility & contrast

On white

4.33
#278B40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#278B40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #278B40
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278B40#FFFFFF#000000##000000
##278B401.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7E39
Deuteranopia (green-blind)
#817646
Tritanopia (blue-blind)
#00887A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #278b40;
/* rgb */ color: rgb(39, 139, 64);
/* oklch */ color: oklch(56.2% 0.144 147.8);
Tailwind
colors: {
  custom: {
    50: '#70ae76',
    500: '#278b40',
    950: '#000000',
  },
}
SCSS
$custom: #278b40;
$custom-light: #70ae76;
$custom-dark: #000000;
JSON
{
  "hex": "#278b40",
  "rgb": {
    "r": 39,
    "g": 139,
    "b": 64
  },
  "hsl": {
    "h": 135,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56241,
    "c": 0.14371,
    "h": 147.8
  },
  "luminance": 0.19267
}

Semantic roles & 50–950 ramp

primary
#278B40
secondary
#B6589F
accent
#48BADF
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #278B40

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

Preview Lab → · Contrast checker → · Palette generator →

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