#278C22#278C22

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

Color values

HEX#278C22
RGBrgb(39, 140, 34)
HSLhsl(117, 61%, 34%)
HSVhsv(117, 76%, 55%)
CMYKcmyk(72.1%, 0%, 75.7%, 45.1%)
CIE-LABlab(51.04, -49.02, 45.50)
CIE-LCHlch(51.04, 66.88, 137.14°)
OKLaboklab(56.18% -0.1333 0.1028)
OKLCHoklch(56.18% 0.168 142.4)
XYZxyz(10.5029, 19.3018, 4.6852)
Luminance0.1930 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278C22 #87228C
analogous
#5C8C22 #278C22 #228C52
triadic
#278C22 #22278C #8C2227
tetradic
#278C22 #225C8C #87228C #8C5222
square
#278C22 #225C8C #87228C #8C5222
split-complementary
#278C22 #52228C #8C225C
monochromatic
#0C2A0A #195B16 #278C22 #35BD2E #59D553

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##278C22#FFFFFF#000000##000000
##278C221.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)
#8F7E0D
Deuteranopia (green-blind)
#84762D
Tritanopia (blue-blind)
#088878
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #278c22;
/* rgb */ color: rgb(39, 140, 34);
/* oklch */ color: oklch(56.2% 0.168 142.4);
Tailwind
colors: {
  custom: {
    50: '#71af65',
    500: '#278c22',
    950: '#000000',
  },
}
SCSS
$custom: #278c22;
$custom-light: #71af65;
$custom-dark: #000000;
JSON
{
  "hex": "#278c22",
  "rgb": {
    "r": 39,
    "g": 140,
    "b": 34
  },
  "hsl": {
    "h": 117.17,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56181,
    "c": 0.16837,
    "h": 142.4
  },
  "luminance": 0.19303
}

Semantic roles & 50–950 ramp

primary
#278C22
secondary
#B451B9
accent
#44E4DC
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #278C22

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

Preview Lab → · Contrast checker → · Palette generator →

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