#278D31#278D31

#278D31 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.6% C 0.159 H 144.5°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#278D31
RGBrgb(39, 141, 49)
HSLhsl(126, 57%, 35%)
HSVhsv(126, 72%, 55%)
CMYKcmyk(72.3%, 0%, 65.2%, 44.7%)
CIE-LABlab(51.50, -47.91, 39.71)
CIE-LCHlch(51.50, 62.23, 140.34°)
OKLaboklab(56.6% -0.1296 0.0925)
OKLCHoklch(56.6% 0.159 144.5)
XYZxyz(10.9152, 19.7016, 6.1327)
Luminance0.1970 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278D31 #8D2783
analogous
#508D27 #278D31 #278D64
triadic
#278D31 #31278D #8D3127
tetradic
#278D31 #27508D #8D2783 #8D6427
square
#278D31 #27508D #8D2783 #8D6427
split-complementary
#278D31 #64278D #8D2750
monochromatic
#0C2D10 #1A5D20 #278D31 #34BD42 #5CD268

Accessibility & contrast

On white

4.25
#278D31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#278D31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #278D31
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278D31#FFFFFF#000000##000000
##278D311.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#908026
Deuteranopia (green-blind)
#847839
Tritanopia (blue-blind)
#00897A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #278d31;
/* rgb */ color: rgb(39, 141, 49);
/* oklch */ color: oklch(56.6% 0.159 144.5);
Tailwind
colors: {
  custom: {
    50: '#71af6d',
    500: '#278d31',
    950: '#000000',
  },
}
SCSS
$custom: #278d31;
$custom-light: #71af6d;
$custom-dark: #000000;
JSON
{
  "hex": "#278d31",
  "rgb": {
    "r": 39,
    "g": 141,
    "b": 49
  },
  "hsl": {
    "h": 125.882,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56601,
    "c": 0.1592,
    "h": 144.5
  },
  "luminance": 0.19703
}

Semantic roles & 50–950 ramp

primary
#278D31
secondary
#B759AE
accent
#48D1E0
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #278D31

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

Preview Lab → · Contrast checker → · Palette generator →

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