#278E31#278E31

#278E31 is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.9% C 0.160 H 144.5°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#278E31
RGBrgb(39, 142, 49)
HSLhsl(126, 57%, 35%)
HSVhsv(126, 73%, 56%)
CMYKcmyk(72.5%, 0%, 65.5%, 44.3%)
CIE-LABlab(51.83, -48.26, 40.09)
CIE-LCHlch(51.83, 62.74, 140.29°)
OKLaboklab(56.88% -0.1305 0.0933)
OKLCHoklch(56.88% 0.16 144.5)
XYZxyz(11.0634, 19.9979, 6.1821)
Luminance0.2000 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278E31 #8E2784
analogous
#508E27 #278E31 #278E64
triadic
#278E31 #31278E #8E3127
tetradic
#278E31 #27508E #8E2784 #8E6427
square
#278E31 #27508E #8E2784 #8E6427
split-complementary
#278E31 #64278E #8E2750
monochromatic
#0D2E10 #1A5E20 #278E31 #34BE42 #5DD268

Accessibility & contrast

On white

4.20
#278E31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#278E31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #278E31
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278E31#FFFFFF#000000##000000
##278E311.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#918126
Deuteranopia (green-blind)
#857839
Tritanopia (blue-blind)
#008A7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #278e31;
/* rgb */ color: rgb(39, 142, 49);
/* oklch */ color: oklch(56.9% 0.160 144.5);
Tailwind
colors: {
  custom: {
    50: '#71b06d',
    500: '#278e31',
    950: '#000000',
  },
}
SCSS
$custom: #278e31;
$custom-light: #71b06d;
$custom-dark: #000000;
JSON
{
  "hex": "#278e31",
  "rgb": {
    "r": 39,
    "g": 142,
    "b": 49
  },
  "hsl": {
    "h": 125.825,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.5688,
    "c": 0.16044,
    "h": 144.5
  },
  "luminance": 0.19999
}

Semantic roles & 50–950 ramp

primary
#278E31
secondary
#B859AE
accent
#48D1E0
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#091107
muted
#7B807A

Preview Lab

Preview with #278E31

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

Preview Lab → · Contrast checker → · Palette generator →

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