#278716#278716

#278716 is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.7% C 0.169 H 141.2°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#278716
RGBrgb(39, 135, 22)
HSLhsl(111, 72%, 31%)
HSVhsv(111, 84%, 53%)
CMYKcmyk(71.1%, 0%, 83.7%, 47.1%)
CIE-LABlab(49.27, -48.13, 47.82)
CIE-LCHlch(49.27, 67.85, 135.19°)
OKLaboklab(54.69% -0.1315 0.1059)
OKLCHoklch(54.69% 0.169 141.2)
XYZxyz(9.6450, 17.8162, 3.6895)
Luminance0.1782 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278716 #761687
analogous
#5F8716 #278716 #16873D
triadic
#278716 #162787 #871627
tetradic
#278716 #165F87 #761687 #873D16
square
#278716 #165F87 #761687 #873D16
split-complementary
#278716 #3D1687 #87165F
monochromatic
#091E05 #18520D #278716 #36BC1F #52DF39

Accessibility & contrast

On white

4.60
#278716 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#278716 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #278716
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278716#FFFFFF#000000##FFFFFF
##2787161.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#807224
Tritanopia (blue-blind)
#118373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #278716;
/* rgb */ color: rgb(39, 135, 22);
/* oklch */ color: oklch(54.7% 0.169 141.2);
Tailwind
colors: {
  custom: {
    50: '#71ab5e',
    500: '#278716',
    950: '#000000',
  },
}
SCSS
$custom: #278716;
$custom-light: #71ab5e;
$custom-dark: #000000;
JSON
{
  "hex": "#278716",
  "rgb": {
    "r": 39,
    "g": 135,
    "b": 22
  },
  "hsl": {
    "h": 110.973,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54693,
    "c": 0.16888,
    "h": 141.2
  },
  "luminance": 0.17817
}

Semantic roles & 50–950 ramp

primary
#278716
secondary
#A83EBB
accent
#39EFD3
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #278716

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

Preview Lab → · Contrast checker → · Palette generator →

#278716 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva