#278F17#278F17

#278F17 is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.0% C 0.177 H 141.4°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#278F17
RGBrgb(39, 143, 23)
HSLhsl(112, 72%, 33%)
HSVhsv(112, 84%, 56%)
CMYKcmyk(72.7%, 0%, 83.9%, 43.9%)
CIE-LABlab(51.99, -50.79, 50.04)
CIE-LCHlch(51.99, 71.30, 135.43°)
OKLaboklab(56.95% -0.1387 0.1107)
OKLCHoklch(56.95% 0.177 141.4)
XYZxyz(10.8132, 20.1369, 4.1274)
Luminance0.2014 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278F17 #7F178F
analogous
#638F17 #278F17 #178F43
triadic
#278F17 #17278F #8F1727
tetradic
#278F17 #17638F #7F178F #8F4317
square
#278F17 #17638F #7F178F #8F4317
split-complementary
#278F17 #43178F #8F1763
monochromatic
#0A2606 #195A0F #278F17 #35C41F #55E040

Accessibility & contrast

On white

4.18
#278F17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#278F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #278F17
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278F17#FFFFFF#000000##000000
##278F171.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#877927
Tritanopia (blue-blind)
#098A79
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #278f17;
/* rgb */ color: rgb(39, 143, 23);
/* oklch */ color: oklch(57.0% 0.177 141.4);
Tailwind
colors: {
  custom: {
    50: '#73b160',
    500: '#278f17',
    950: '#000000',
  },
}
SCSS
$custom: #278f17;
$custom-light: #73b160;
$custom-dark: #000000;
JSON
{
  "hex": "#278f17",
  "rgb": {
    "r": 39,
    "g": 143,
    "b": 23
  },
  "hsl": {
    "h": 112,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56952,
    "c": 0.17744,
    "h": 141.4
  },
  "luminance": 0.20138
}

Semantic roles & 50–950 ramp

primary
#278F17
secondary
#B041C1
accent
#39EFD7
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091105
muted
#7B807A

Preview Lab

Preview with #278F17

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

Preview Lab → · Contrast checker → · Palette generator →

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