#278E21#278E21

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

Color values

HEX#278E21
RGBrgb(39, 142, 33)
HSLhsl(117, 62%, 34%)
HSVhsv(117, 77%, 56%)
CMYKcmyk(72.5%, 0%, 76.8%, 44.3%)
CIE-LABlab(51.71, -49.79, 46.54)
CIE-LCHlch(51.71, 68.15, 136.93°)
OKLaboklab(56.73% -0.1355 0.1048)
OKLCHoklch(56.73% 0.171 142.3)
XYZxyz(10.7836, 19.8860, 4.7086)
Luminance0.1989 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278E21 #88218E
analogous
#5E8E21 #278E21 #218E52
triadic
#278E21 #21278E #8E2127
tetradic
#278E21 #215E8E #88218E #8E5221
square
#278E21 #215E8E #88218E #8E5221
split-complementary
#278E21 #52218E #8E215E
monochromatic
#0C2B0A #195C15 #278E21 #35C02D #5AD752

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##278E21#FFFFFF#000000##000000
##278E211.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)
#91800A
Deuteranopia (green-blind)
#86782D
Tritanopia (blue-blind)
#078A79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #278e21;
/* rgb */ color: rgb(39, 142, 33);
/* oklch */ color: oklch(56.7% 0.171 142.3);
Tailwind
colors: {
  custom: {
    50: '#72b064',
    500: '#278e21',
    950: '#000000',
  },
}
SCSS
$custom: #278e21;
$custom-light: #72b064;
$custom-dark: #000000;
JSON
{
  "hex": "#278e21",
  "rgb": {
    "r": 39,
    "g": 142,
    "b": 33
  },
  "hsl": {
    "h": 116.697,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56734,
    "c": 0.1713,
    "h": 142.3
  },
  "luminance": 0.19887
}

Semantic roles & 50–950 ramp

primary
#278E21
secondary
#B550BA
accent
#42E5DC
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091106
muted
#7B807A

Preview Lab

Preview with #278E21

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

Preview Lab → · Contrast checker → · Palette generator →

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