#278E22#278E22

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

Color values

HEX#278E22
RGBrgb(39, 142, 34)
HSLhsl(117, 61%, 35%)
HSVhsv(117, 76%, 56%)
CMYKcmyk(72.5%, 0%, 76.1%, 44.3%)
CIE-LABlab(51.71, -49.71, 46.18)
CIE-LCHlch(51.71, 67.85, 137.11°)
OKLaboklab(56.74% -0.1352 0.1042)
OKLCHoklch(56.74% 0.171 142.4)
XYZxyz(10.7978, 19.8916, 4.7835)
Luminance0.1989 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278E22 #89228E
analogous
#5D8E22 #278E22 #228E53
triadic
#278E22 #22278E #8E2227
tetradic
#278E22 #225D8E #89228E #8E5322
square
#278E22 #225D8E #89228E #8E5322
split-complementary
#278E22 #53228E #8E225D
monochromatic
#0C2B0A #195D16 #278E22 #35BF2E #5AD654

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##278E22#FFFFFF#000000##000000
##278E221.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)
#91800C
Deuteranopia (green-blind)
#86782E
Tritanopia (blue-blind)
#068A79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #278e22;
/* rgb */ color: rgb(39, 142, 34);
/* oklch */ color: oklch(56.7% 0.171 142.4);
Tailwind
colors: {
  custom: {
    50: '#72b065',
    500: '#278e22',
    950: '#000000',
  },
}
SCSS
$custom: #278e22;
$custom-light: #72b065;
$custom-dark: #000000;
JSON
{
  "hex": "#278e22",
  "rgb": {
    "r": 39,
    "g": 142,
    "b": 34
  },
  "hsl": {
    "h": 117.222,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56742,
    "c": 0.17072,
    "h": 142.4
  },
  "luminance": 0.19893
}

Semantic roles & 50–950 ramp

primary
#278E22
secondary
#B552BA
accent
#43E4DD
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091106
muted
#7B807A

Preview Lab

Preview with #278E22

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

Preview Lab → · Contrast checker → · Palette generator →

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