#278D22#278D22

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

Color values

HEX#278D22
RGBrgb(39, 141, 34)
HSLhsl(117, 61%, 34%)
HSVhsv(117, 76%, 55%)
CMYKcmyk(72.3%, 0%, 75.9%, 44.7%)
CIE-LABlab(51.38, -49.37, 45.84)
CIE-LCHlch(51.38, 67.37, 137.12°)
OKLaboklab(56.46% -0.1343 0.1035)
OKLCHoklch(56.46% 0.17 142.4)
XYZxyz(10.6497, 19.5954, 4.7341)
Luminance0.1960 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278D22 #88228D
analogous
#5D8D22 #278D22 #228D53
triadic
#278D22 #22278D #8D2227
tetradic
#278D22 #225D8D #88228D #8D5322
square
#278D22 #225D8D #88228D #8D5322
split-complementary
#278D22 #53228D #8D225D
monochromatic
#0C2A0A #195C16 #278D22 #35BE2E #5AD654

Accessibility & contrast

On white

4.27
#278D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#278D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #278D22
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278D22#FFFFFF#000000##000000
##278D221.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0D
Deuteranopia (green-blind)
#85772D
Tritanopia (blue-blind)
#078978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #278d22;
/* rgb */ color: rgb(39, 141, 34);
/* oklch */ color: oklch(56.5% 0.170 142.4);
Tailwind
colors: {
  custom: {
    50: '#72af65',
    500: '#278d22',
    950: '#000000',
  },
}
SCSS
$custom: #278d22;
$custom-light: #72af65;
$custom-dark: #000000;
JSON
{
  "hex": "#278d22",
  "rgb": {
    "r": 39,
    "g": 141,
    "b": 34
  },
  "hsl": {
    "h": 117.196,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56461,
    "c": 0.16955,
    "h": 142.4
  },
  "luminance": 0.19597
}

Semantic roles & 50–950 ramp

primary
#278D22
secondary
#B551B9
accent
#44E4DD
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #278D22

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

Preview Lab → · Contrast checker → · Palette generator →

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