#278F40#278F40

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

Color values

HEX#278F40
RGBrgb(39, 143, 64)
HSLhsl(134, 57%, 36%)
HSVhsv(134, 73%, 56%)
CMYKcmyk(72.7%, 0%, 55.2%, 43.9%)
CIE-LABlab(52.34, -46.66, 33.41)
CIE-LCHlch(52.34, 57.39, 144.39°)
OKLaboklab(57.35% -0.1257 0.0801)
OKLCHoklch(57.35% 0.149 147.5)
XYZxyz(11.5837, 20.4451, 8.1853)
Luminance0.2045 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278F40 #8F2776
analogous
#428F27 #278F40 #278F74
triadic
#278F40 #40278F #8F4027
tetradic
#278F40 #27428F #8F2776 #8F7427
square
#278F40 #27428F #8F2776 #8F7427
split-complementary
#278F40 #74278F #8F2742
monochromatic
#0D2F15 #1A5F2A #278F40 #34BF56 #5DD37A

Accessibility & contrast

On white

4.13
#278F40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##278F40#FFFFFF#000000##000000
##278F401.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#918239
Deuteranopia (green-blind)
#847946
Tritanopia (blue-blind)
#008C7D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #278f40;
/* rgb */ color: rgb(39, 143, 64);
/* oklch */ color: oklch(57.4% 0.149 147.5);
Tailwind
colors: {
  custom: {
    50: '#71b177',
    500: '#278f40',
    950: '#000000',
  },
}
SCSS
$custom: #278f40;
$custom-light: #71b177;
$custom-dark: #000000;
JSON
{
  "hex": "#278f40",
  "rgb": {
    "r": 39,
    "g": 143,
    "b": 64
  },
  "hsl": {
    "h": 134.423,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.5735,
    "c": 0.14904,
    "h": 147.5
  },
  "luminance": 0.20446
}

Semantic roles & 50–950 ramp

primary
#278F40
secondary
#B85AA1
accent
#47BCE0
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #278F40

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

Preview Lab → · Contrast checker → · Palette generator →

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