#278D28#278D28

#278D28 is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.5% C 0.166 H 143.1°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#278D28
RGBrgb(39, 141, 40)
HSLhsl(121, 57%, 35%)
HSVhsv(121, 72%, 55%)
CMYKcmyk(72.3%, 0%, 71.6%, 44.7%)
CIE-LABlab(51.42, -48.85, 43.54)
CIE-LCHlch(51.42, 65.43, 138.29°)
OKLaboklab(56.51% -0.1326 0.0995)
OKLCHoklch(56.51% 0.166 143.1)
XYZxyz(10.7439, 19.6331, 5.2304)
Luminance0.1963 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278D28 #8D278C
analogous
#598D27 #278D28 #278D5B
triadic
#278D28 #28278D #8D2827
tetradic
#278D28 #27598D #8D278C #8D5B27
square
#278D28 #27598D #8D278C #8D5B27
split-complementary
#278D28 #5B278D #8D2759
monochromatic
#0C2D0D #1A5D1A #278D28 #34BD36 #5CD25E

Accessibility & contrast

On white

4.26
#278D28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#278D28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #278D28
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278D28#FFFFFF#000000##000000
##278D281.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F19
Deuteranopia (green-blind)
#847732
Tritanopia (blue-blind)
#048979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #278d28;
/* rgb */ color: rgb(39, 141, 40);
/* oklch */ color: oklch(56.5% 0.166 143.1);
Tailwind
colors: {
  custom: {
    50: '#71af68',
    500: '#278d28',
    950: '#000000',
  },
}
SCSS
$custom: #278d28;
$custom-light: #71af68;
$custom-dark: #000000;
JSON
{
  "hex": "#278d28",
  "rgb": {
    "r": 39,
    "g": 141,
    "b": 40
  },
  "hsl": {
    "h": 120.588,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56511,
    "c": 0.16575,
    "h": 143.1
  },
  "luminance": 0.19634
}

Semantic roles & 50–950 ramp

primary
#278D28
secondary
#B759B6
accent
#48DEE0
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #278D28

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

Preview Lab → · Contrast checker → · Palette generator →

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