#278F31#278F31

#278F31 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.2% C 0.162 H 144.4°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#278F31
RGBrgb(39, 143, 49)
HSLhsl(126, 57%, 36%)
HSVhsv(126, 73%, 56%)
CMYKcmyk(72.7%, 0%, 65.7%, 43.9%)
CIE-LABlab(52.17, -48.62, 40.46)
CIE-LCHlch(52.17, 63.25, 140.23°)
OKLaboklab(57.16% -0.1315 0.0941)
OKLCHoklch(57.16% 0.162 144.4)
XYZxyz(11.2128, 20.2968, 6.2319)
Luminance0.2030 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278F31 #8F2785
analogous
#518F27 #278F31 #278F65
triadic
#278F31 #31278F #8F3127
tetradic
#278F31 #27518F #8F2785 #8F6527
square
#278F31 #27518F #8F2785 #8F6527
split-complementary
#278F31 #65278F #8F2751
monochromatic
#0D2F10 #1A5F21 #278F31 #34BF41 #5DD369

Accessibility & contrast

On white

4.15
#278F31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#278F31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #278F31
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278F31#FFFFFF#000000##000000
##278F311.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#928126
Deuteranopia (green-blind)
#867939
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #278f31;
/* rgb */ color: rgb(39, 143, 49);
/* oklch */ color: oklch(57.2% 0.162 144.4);
Tailwind
colors: {
  custom: {
    50: '#71b16d',
    500: '#278f31',
    950: '#000000',
  },
}
SCSS
$custom: #278f31;
$custom-light: #71b16d;
$custom-dark: #000000;
JSON
{
  "hex": "#278f31",
  "rgb": {
    "r": 39,
    "g": 143,
    "b": 49
  },
  "hsl": {
    "h": 125.769,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.57159,
    "c": 0.16169,
    "h": 144.4
  },
  "luminance": 0.20298
}

Semantic roles & 50–950 ramp

primary
#278F31
secondary
#B85AAF
accent
#47D2E0
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #278F31

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

Preview Lab → · Contrast checker → · Palette generator →

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