#278417#278417

#278417 is a mid, vivid green. Relative luminance 0.170; OKLCH L 53.8% C 0.165 H 141.2°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#278417
RGBrgb(39, 132, 23)
HSLhsl(111, 70%, 30%)
HSVhsv(111, 83%, 52%)
CMYKcmyk(70.5%, 0%, 82.6%, 48.2%)
CIE-LABlab(48.25, -47.03, 46.57)
CIE-LCHlch(48.25, 66.19, 135.28°)
OKLaboklab(53.85% -0.1285 0.1035)
OKLCHoklch(53.85% 0.165 141.2)
XYZxyz(9.2421, 16.9947, 3.6037)
Luminance0.1700 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278417 #741784
analogous
#5D8417 #278417 #17843E
triadic
#278417 #172784 #841727
tetradic
#278417 #175D84 #741784 #843E17
square
#278417 #175D84 #741784 #843E17
split-complementary
#278417 #3E1784 #84175D
monochromatic
#081C05 #18500E #278417 #36B820 #51DC39

Accessibility & contrast

On white

4.77
#278417 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#278417 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #278417
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278417#FFFFFF#000000##FFFFFF
##2784171.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#7D7024
Tritanopia (blue-blind)
#128070
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #278417;
/* rgb */ color: rgb(39, 132, 23);
/* oklch */ color: oklch(53.8% 0.165 141.2);
Tailwind
colors: {
  custom: {
    50: '#70a95e',
    500: '#278417',
    950: '#000000',
  },
}
SCSS
$custom: #278417;
$custom-light: #70a95e;
$custom-dark: #000000;
JSON
{
  "hex": "#278417",
  "rgb": {
    "r": 39,
    "g": 132,
    "b": 23
  },
  "hsl": {
    "h": 111.193,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53849,
    "c": 0.16498,
    "h": 141.2
  },
  "luminance": 0.16996
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #278417

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

Preview Lab → · Contrast checker → · Palette generator →

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