#278E20#278E20

#278E20 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.7% C 0.172 H 142.2°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#278E20
RGBrgb(39, 142, 32)
HSLhsl(116, 63%, 34%)
HSVhsv(116, 77%, 56%)
CMYKcmyk(72.5%, 0%, 77.5%, 44.3%)
CIE-LABlab(51.70, -49.87, 46.89)
CIE-LCHlch(51.70, 68.45, 136.76°)
OKLaboklab(56.73% -0.1357 0.1054)
OKLCHoklch(56.73% 0.172 142.2)
XYZxyz(10.7698, 19.8804, 4.6359)
Luminance0.1988 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278E20 #87208E
analogous
#5E8E20 #278E20 #208E50
triadic
#278E20 #20278E #8E2027
tetradic
#278E20 #205E8E #87208E #8E5020
square
#278E20 #205E8E #87208E #8E5020
split-complementary
#278E20 #50208E #8E205E
monochromatic
#0C2A09 #195C15 #278E20 #35C02B #59D851

Accessibility & contrast

On white

4.22
#278E20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#278E20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #278E20
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278E20#FFFFFF#000000##000000
##278E201.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#918007
Deuteranopia (green-blind)
#86782C
Tritanopia (blue-blind)
#078A79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #278e20;
/* rgb */ color: rgb(39, 142, 32);
/* oklch */ color: oklch(56.7% 0.172 142.2);
Tailwind
colors: {
  custom: {
    50: '#72b064',
    500: '#278e20',
    950: '#000000',
  },
}
SCSS
$custom: #278e20;
$custom-light: #72b064;
$custom-dark: #000000;
JSON
{
  "hex": "#278e20",
  "rgb": {
    "r": 39,
    "g": 142,
    "b": 32
  },
  "hsl": {
    "h": 116.182,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56727,
    "c": 0.17187,
    "h": 142.2
  },
  "luminance": 0.19882
}

Semantic roles & 50–950 ramp

primary
#278E20
secondary
#B44FBB
accent
#42E6DC
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091106
muted
#7B807A

Preview Lab

Preview with #278E20

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

Preview Lab → · Contrast checker → · Palette generator →

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