#278720#278720

#278720 is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.8% C 0.164 H 142.1°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#278720
RGBrgb(39, 135, 32)
HSLhsl(116, 62%, 33%)
HSVhsv(116, 76%, 53%)
CMYKcmyk(71.1%, 0%, 76.3%, 47.1%)
CIE-LABlab(49.33, -47.44, 44.53)
CIE-LCHlch(49.33, 65.07, 136.82°)
OKLaboklab(54.76% -0.1292 0.1005)
OKLCHoklch(54.76% 0.164 142.1)
XYZxyz(9.7608, 17.8625, 4.2996)
Luminance0.1786 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278720 #802087
analogous
#5B8720 #278720 #20874C
triadic
#278720 #202787 #872027
tetradic
#278720 #205B87 #802087 #874C20
square
#278720 #205B87 #802087 #874C20
split-complementary
#278720 #4C2087 #87205B
monochromatic
#0A2409 #195614 #278720 #35B82C #56D54D

Accessibility & contrast

On white

4.59
#278720 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#278720 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #278720
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278720#FFFFFF#000000##FFFFFF
##2787201.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A0B
Deuteranopia (green-blind)
#7F722B
Tritanopia (blue-blind)
#0E8373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #278720;
/* rgb */ color: rgb(39, 135, 32);
/* oklch */ color: oklch(54.8% 0.164 142.1);
Tailwind
colors: {
  custom: {
    50: '#70ab63',
    500: '#278720',
    950: '#000000',
  },
}
SCSS
$custom: #278720;
$custom-light: #70ab63;
$custom-dark: #000000;
JSON
{
  "hex": "#278720",
  "rgb": {
    "r": 39,
    "g": 135,
    "b": 32
  },
  "hsl": {
    "h": 115.922,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54758,
    "c": 0.16367,
    "h": 142.1
  },
  "luminance": 0.17864
}

Semantic roles & 50–950 ramp

primary
#278720
secondary
#B04BB8
accent
#43E5DA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #278720

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

Preview Lab → · Contrast checker → · Palette generator →

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