#278517#278517

#278517 is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.1% C 0.166 H 141.2°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#278517
RGBrgb(39, 133, 23)
HSLhsl(111, 71%, 31%)
HSVhsv(111, 83%, 52%)
CMYKcmyk(70.7%, 0%, 82.7%, 47.8%)
CIE-LABlab(48.60, -47.38, 46.89)
CIE-LCHlch(48.60, 66.66, 135.30°)
OKLaboklab(54.13% -0.1295 0.1041)
OKLCHoklch(54.13% 0.166 141.2)
XYZxyz(9.3784, 17.2673, 3.6491)
Luminance0.1727 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278517 #751785
analogous
#5E8517 #278517 #17853E
triadic
#278517 #172785 #851727
tetradic
#278517 #175E85 #751785 #853E17
square
#278517 #175E85 #751785 #853E17
split-complementary
#278517 #3E1785 #85175E
monochromatic
#081D05 #18510E #278517 #36B920 #51DD3A

Accessibility & contrast

On white

4.72
#278517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#278517 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #278517
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278517#FFFFFF#000000##FFFFFF
##2785171.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#7E7125
Tritanopia (blue-blind)
#128171
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #278517;
/* rgb */ color: rgb(39, 133, 23);
/* oklch */ color: oklch(54.1% 0.166 141.2);
Tailwind
colors: {
  custom: {
    50: '#70a95e',
    500: '#278517',
    950: '#000000',
  },
}
SCSS
$custom: #278517;
$custom-light: #70a95e;
$custom-dark: #000000;
JSON
{
  "hex": "#278517",
  "rgb": {
    "r": 39,
    "g": 133,
    "b": 23
  },
  "hsl": {
    "h": 111.273,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54133,
    "c": 0.16614,
    "h": 141.2
  },
  "luminance": 0.17268
}

Semantic roles & 50–950 ramp

primary
#278517
secondary
#A73FB9
accent
#3BEDD3
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #278517

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

Preview Lab → · Contrast checker → · Palette generator →

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