#278017#278017

#278017 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.7% C 0.160 H 141.1°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#278017
RGBrgb(39, 128, 23)
HSLhsl(111, 70%, 30%)
HSVhsv(111, 82%, 50%)
CMYKcmyk(69.5%, 0%, 82%, 49.8%)
CIE-LABlab(46.88, -45.63, 45.28)
CIE-LCHlch(46.88, 64.28, 135.22°)
OKLaboklab(52.71% -0.1247 0.1008)
OKLCHoklch(52.71% 0.16 141.1)
XYZxyz(8.7101, 15.9306, 3.4263)
Luminance0.1593 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278017 #701780
analogous
#5C8017 #278017 #17803C
triadic
#278017 #172780 #801727
tetradic
#278017 #175C80 #701780 #803C17
square
#278017 #175C80 #701780 #803C17
split-complementary
#278017 #3C1780 #80175C
monochromatic
#081A05 #174C0E #278017 #37B420 #50DB36

Accessibility & contrast

On white

5.02
#278017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#278017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #278017
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278017#FFFFFF#000000##FFFFFF
##2780171.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#796C24
Tritanopia (blue-blind)
#157C6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #278017;
/* rgb */ color: rgb(39, 128, 23);
/* oklch */ color: oklch(52.7% 0.160 141.1);
Tailwind
colors: {
  custom: {
    50: '#6fa65e',
    500: '#278017',
    950: '#000000',
  },
}
SCSS
$custom: #278017;
$custom-light: #6fa65e;
$custom-dark: #000000;
JSON
{
  "hex": "#278017",
  "rgb": {
    "r": 39,
    "g": 128,
    "b": 23
  },
  "hsl": {
    "h": 110.857,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52713,
    "c": 0.16034,
    "h": 141.1
  },
  "luminance": 0.15932
}

Semantic roles & 50–950 ramp

primary
#278017
secondary
#A23EB4
accent
#3BECD1
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #278017

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

Preview Lab → · Contrast checker → · Palette generator →

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