#278D18#278D18

#278D18 is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.4% C 0.175 H 141.4°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#278D18
RGBrgb(39, 141, 24)
HSLhsl(112, 71%, 32%)
HSVhsv(112, 83%, 55%)
CMYKcmyk(72.3%, 0%, 83%, 44.7%)
CIE-LABlab(51.32, -50.06, 49.13)
CIE-LCHlch(51.32, 70.14, 135.54°)
OKLaboklab(56.4% -0.1366 0.109)
OKLCHoklch(56.4% 0.175 141.4)
XYZxyz(10.5259, 19.5459, 4.0820)
Luminance0.1955 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278D18 #7E188D
analogous
#618D18 #278D18 #188D44
triadic
#278D18 #18278D #8D1827
tetradic
#278D18 #18618D #7E188D #8D4418
square
#278D18 #18618D #7E188D #8D4418
split-complementary
#278D18 #44188D #8D1861
monochromatic
#0A2406 #19590F #278D18 #35C121 #55DF41

Accessibility & contrast

On white

4.28
#278D18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#278D18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #278D18
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278D18#FFFFFF#000000##000000
##278D181.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#857727
Tritanopia (blue-blind)
#0B8878
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #278d18;
/* rgb */ color: rgb(39, 141, 24);
/* oklch */ color: oklch(56.4% 0.175 141.4);
Tailwind
colors: {
  custom: {
    50: '#72af60',
    500: '#278d18',
    950: '#000000',
  },
}
SCSS
$custom: #278d18;
$custom-light: #72af60;
$custom-dark: #000000;
JSON
{
  "hex": "#278d18",
  "rgb": {
    "r": 39,
    "g": 141,
    "b": 24
  },
  "hsl": {
    "h": 112.308,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56396,
    "c": 0.17477,
    "h": 141.4
  },
  "luminance": 0.19547
}

Semantic roles & 50–950 ramp

primary
#278D18
secondary
#AF42BF
accent
#3AEED7
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #278D18

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

Preview Lab → · Contrast checker → · Palette generator →

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