#278B22#278B22

#278B22 is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.9% C 0.167 H 142.4°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#278B22
RGBrgb(39, 139, 34)
HSLhsl(117, 61%, 34%)
HSVhsv(117, 76%, 55%)
CMYKcmyk(71.9%, 0%, 75.5%, 45.5%)
CIE-LABlab(50.70, -48.68, 45.16)
CIE-LCHlch(50.70, 66.40, 137.15°)
OKLaboklab(55.9% -0.1324 0.1021)
OKLCHoklch(55.9% 0.167 142.4)
XYZxyz(10.3574, 19.0109, 4.6367)
Luminance0.1901 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278B22 #86228B
analogous
#5C8B22 #278B22 #228B52
triadic
#278B22 #22278B #8B2227
tetradic
#278B22 #225C8B #86228B #8B5222
square
#278B22 #225C8B #86228B #8B5222
split-complementary
#278B22 #52228B #8B225C
monochromatic
#0B290A #195A16 #278B22 #35BC2E #59D553

Accessibility & contrast

On white

4.37
#278B22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#278B22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #278B22
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278B22#FFFFFF#000000##000000
##278B221.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E0E
Deuteranopia (green-blind)
#83762D
Tritanopia (blue-blind)
#098777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #278b22;
/* rgb */ color: rgb(39, 139, 34);
/* oklch */ color: oklch(55.9% 0.167 142.4);
Tailwind
colors: {
  custom: {
    50: '#71ae64',
    500: '#278b22',
    950: '#000000',
  },
}
SCSS
$custom: #278b22;
$custom-light: #71ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#278b22",
  "rgb": {
    "r": 39,
    "g": 139,
    "b": 34
  },
  "hsl": {
    "h": 117.143,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.559,
    "c": 0.1672,
    "h": 142.4
  },
  "luminance": 0.19012
}

Semantic roles & 50–950 ramp

primary
#278B22
secondary
#B450B8
accent
#44E4DC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #278B22

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

Preview Lab → · Contrast checker → · Palette generator →

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