#278E42#278E42

#278E42 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.1% C 0.146 H 148.1°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#278E42
RGBrgb(39, 142, 66)
HSLhsl(136, 57%, 35%)
HSVhsv(136, 73%, 56%)
CMYKcmyk(72.5%, 0%, 53.5%, 44.3%)
CIE-LABlab(52.03, -45.98, 32.01)
CIE-LCHlch(52.03, 56.03, 145.15°)
OKLaboklab(57.1% -0.1238 0.0771)
OKLCHoklch(57.1% 0.146 148.1)
XYZxyz(11.4922, 20.1694, 8.4406)
Luminance0.2017 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278E42 #8E2773
analogous
#3F8E27 #278E42 #278E75
triadic
#278E42 #42278E #8E4227
tetradic
#278E42 #273F8E #8E2773 #8E7527
square
#278E42 #273F8E #8E2773 #8E7527
split-complementary
#278E42 #75278E #8E273F
monochromatic
#0D2E15 #1A5E2C #278E42 #34BE58 #5DD27C

Accessibility & contrast

On white

4.17
#278E42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#278E42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #278E42
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278E42#FFFFFF#000000##000000
##278E421.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F813B
Deuteranopia (green-blind)
#837948
Tritanopia (blue-blind)
#008B7D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #278e42;
/* rgb */ color: rgb(39, 142, 66);
/* oklch */ color: oklch(57.1% 0.146 148.1);
Tailwind
colors: {
  custom: {
    50: '#70b078',
    500: '#278e42',
    950: '#000000',
  },
}
SCSS
$custom: #278e42;
$custom-light: #70b078;
$custom-dark: #000000;
JSON
{
  "hex": "#278e42",
  "rgb": {
    "r": 39,
    "g": 142,
    "b": 66
  },
  "hsl": {
    "h": 135.728,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.57103,
    "c": 0.14588,
    "h": 148.1
  },
  "luminance": 0.20171
}

Semantic roles & 50–950 ramp

primary
#278E42
secondary
#B8599F
accent
#48B8E0
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#091109
muted
#7B807B

Preview Lab

Preview with #278E42

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

Preview Lab → · Contrast checker → · Palette generator →

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