#278418#278418

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

Color values

HEX#278418
RGBrgb(39, 132, 24)
HSLhsl(112, 69%, 31%)
HSVhsv(112, 82%, 52%)
CMYKcmyk(70.5%, 0%, 81.8%, 48.2%)
CIE-LABlab(48.26, -46.97, 46.26)
CIE-LCHlch(48.26, 65.92, 135.44°)
OKLaboklab(53.86% -0.1283 0.103)
OKLCHoklch(53.86% 0.165 141.3)
XYZxyz(9.2523, 16.9988, 3.6575)
Luminance0.1700 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278418 #751884
analogous
#5D8418 #278418 #18843F
triadic
#278418 #182784 #841827
tetradic
#278418 #185D84 #751884 #843F18
square
#278418 #185D84 #751884 #843F18
split-complementary
#278418 #3F1884 #84185D
monochromatic
#081C05 #18500F #278418 #36B821 #51DB3B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##278418#FFFFFF#000000##FFFFFF
##2784181.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)
#7D7025
Tritanopia (blue-blind)
#128070
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #278418;
/* rgb */ color: rgb(39, 132, 24);
/* oklch */ color: oklch(53.9% 0.165 141.3);
Tailwind
colors: {
  custom: {
    50: '#70a95f',
    500: '#278418',
    950: '#000000',
  },
}
SCSS
$custom: #278418;
$custom-light: #70a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#278418",
  "rgb": {
    "r": 39,
    "g": 132,
    "b": 24
  },
  "hsl": {
    "h": 111.667,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53855,
    "c": 0.16451,
    "h": 141.3
  },
  "luminance": 0.17
}

Semantic roles & 50–950 ramp

primary
#278418
secondary
#A740B8
accent
#3CECD4
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #278418

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

Preview Lab → · Contrast checker → · Palette generator →

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