#278C20#278C20

#278C20 is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.2% C 0.170 H 142.2°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#278C20
RGBrgb(39, 140, 32)
HSLhsl(116, 63%, 34%)
HSVhsv(116, 77%, 55%)
CMYKcmyk(72.1%, 0%, 77.1%, 45.1%)
CIE-LABlab(51.03, -49.18, 46.22)
CIE-LCHlch(51.03, 67.49, 136.78°)
OKLaboklab(56.17% -0.1339 0.104)
OKLCHoklch(56.17% 0.17 142.2)
XYZxyz(10.4749, 19.2906, 4.5376)
Luminance0.1929 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278C20 #85208C
analogous
#5D8C20 #278C20 #208C4F
triadic
#278C20 #20278C #8C2027
tetradic
#278C20 #205D8C #85208C #8C4F20
square
#278C20 #205D8C #85208C #8C4F20
split-complementary
#278C20 #4F208C #8C205D
monochromatic
#0B2809 #195A15 #278C20 #35BE2B #58D750

Accessibility & contrast

On white

4.32
#278C20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#278C20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #278C20
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278C20#FFFFFF#000000##000000
##278C201.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E08
Deuteranopia (green-blind)
#84762C
Tritanopia (blue-blind)
#098877
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #278c20;
/* rgb */ color: rgb(39, 140, 32);
/* oklch */ color: oklch(56.2% 0.170 142.2);
Tailwind
colors: {
  custom: {
    50: '#72af64',
    500: '#278c20',
    950: '#000000',
  },
}
SCSS
$custom: #278c20;
$custom-light: #72af64;
$custom-dark: #000000;
JSON
{
  "hex": "#278c20",
  "rgb": {
    "r": 39,
    "g": 140,
    "b": 32
  },
  "hsl": {
    "h": 116.111,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56166,
    "c": 0.16955,
    "h": 142.2
  },
  "luminance": 0.19292
}

Semantic roles & 50–950 ramp

primary
#278C20
secondary
#B34EBA
accent
#42E6DB
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #278C20

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

Preview Lab → · Contrast checker → · Palette generator →

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