#278C40#278C40

#278C40 is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.5% C 0.145 H 147.7°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#278C40
RGBrgb(39, 140, 64)
HSLhsl(135, 56%, 35%)
HSVhsv(135, 72%, 55%)
CMYKcmyk(72.1%, 0%, 54.3%, 45.1%)
CIE-LABlab(51.33, -45.54, 32.19)
CIE-LCHlch(51.33, 55.77, 144.74°)
OKLaboklab(56.52% -0.1227 0.0774)
OKLCHoklch(56.52% 0.145 147.7)
XYZxyz(11.1394, 19.5564, 8.0372)
Luminance0.1956 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278C40 #8C2773
analogous
#418C27 #278C40 #278C72
triadic
#278C40 #40278C #8C4027
tetradic
#278C40 #27418C #8C2773 #8C7227
square
#278C40 #27418C #8C2773 #8C7227
split-complementary
#278C40 #72278C #8C2741
monochromatic
#0C2C14 #1A5C2A #278C40 #34BC56 #5CD279

Accessibility & contrast

On white

4.28
#278C40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#278C40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #278C40
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278C40#FFFFFF#000000##000000
##278C401.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7F39
Deuteranopia (green-blind)
#827746
Tritanopia (blue-blind)
#00897B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #278c40;
/* rgb */ color: rgb(39, 140, 64);
/* oklch */ color: oklch(56.5% 0.145 147.7);
Tailwind
colors: {
  custom: {
    50: '#70af77',
    500: '#278c40',
    950: '#000000',
  },
}
SCSS
$custom: #278c40;
$custom-light: #70af77;
$custom-dark: #000000;
JSON
{
  "hex": "#278c40",
  "rgb": {
    "r": 39,
    "g": 140,
    "b": 64
  },
  "hsl": {
    "h": 134.851,
    "s": 56.425,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56518,
    "c": 0.14505,
    "h": 147.7
  },
  "luminance": 0.19558
}

Semantic roles & 50–950 ramp

primary
#278C40
secondary
#B7589F
accent
#48BAE0
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #278C40

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

Preview Lab → · Contrast checker → · Palette generator →

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