#278D20#278D20

#278D20 is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.4% C 0.171 H 142.2°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#278D20
RGBrgb(39, 141, 32)
HSLhsl(116, 63%, 34%)
HSVhsv(116, 77%, 55%)
CMYKcmyk(72.3%, 0%, 77.3%, 44.7%)
CIE-LABlab(51.36, -49.52, 46.56)
CIE-LCHlch(51.36, 67.97, 136.77°)
OKLaboklab(56.45% -0.1348 0.1047)
OKLCHoklch(56.45% 0.171 142.2)
XYZxyz(10.6217, 19.5842, 4.5866)
Luminance0.1958 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278D20 #86208D
analogous
#5E8D20 #278D20 #208D50
triadic
#278D20 #20278D #8D2027
tetradic
#278D20 #205E8D #86208D #8D5020
square
#278D20 #205E8D #86208D #8D5020
split-complementary
#278D20 #50208D #8D205E
monochromatic
#0B2909 #195B15 #278D20 #35BF2B #59D750

Accessibility & contrast

On white

4.27
#278D20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#278D20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #278D20
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278D20#FFFFFF#000000##000000
##278D201.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F08
Deuteranopia (green-blind)
#85772C
Tritanopia (blue-blind)
#088978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #278d20;
/* rgb */ color: rgb(39, 141, 32);
/* oklch */ color: oklch(56.4% 0.171 142.2);
Tailwind
colors: {
  custom: {
    50: '#72af64',
    500: '#278d20',
    950: '#000000',
  },
}
SCSS
$custom: #278d20;
$custom-light: #72af64;
$custom-dark: #000000;
JSON
{
  "hex": "#278d20",
  "rgb": {
    "r": 39,
    "g": 141,
    "b": 32
  },
  "hsl": {
    "h": 116.147,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56447,
    "c": 0.17071,
    "h": 142.2
  },
  "luminance": 0.19585
}

Semantic roles & 50–950 ramp

primary
#278D20
secondary
#B44EBA
accent
#42E6DC
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #278D20

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

Preview Lab → · Contrast checker → · Palette generator →

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