#278B27#278B27

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

Color values

HEX#278B27
RGBrgb(39, 139, 39)
HSLhsl(120, 56%, 35%)
HSVhsv(120, 72%, 55%)
CMYKcmyk(71.9%, 0%, 71.9%, 45.5%)
CIE-LABlab(50.74, -48.24, 43.23)
CIE-LCHlch(50.74, 64.78, 138.13°)
OKLaboklab(55.94% -0.131 0.0987)
OKLCHoklch(55.94% 0.164 143)
XYZxyz(10.4349, 19.0419, 5.0446)
Luminance0.1904 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278B27 #8B278B
analogous
#598B27 #278B27 #278B59
triadic
#278B27 #27278B #8B2727
tetradic
#278B27 #27598B #8B278B #8B5927
square
#278B27 #27598B #8B278B #8B5927
split-complementary
#278B27 #59278B #8B2759
monochromatic
#0C2B0C #1A5B1A #278B27 #34BB34 #5BD15B

Accessibility & contrast

On white

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

On black

4.81
#278B27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #278B27
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278B27#FFFFFF#000000##000000
##278B271.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E17
Deuteranopia (green-blind)
#827631
Tritanopia (blue-blind)
#078777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #278b27;
/* rgb */ color: rgb(39, 139, 39);
/* oklch */ color: oklch(55.9% 0.164 143.0);
Tailwind
colors: {
  custom: {
    50: '#71ae67',
    500: '#278b27',
    950: '#000000',
  },
}
SCSS
$custom: #278b27;
$custom-light: #71ae67;
$custom-dark: #000000;
JSON
{
  "hex": "#278b27",
  "rgb": {
    "r": 39,
    "g": 139,
    "b": 39
  },
  "hsl": {
    "h": 120,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55942,
    "c": 0.16401,
    "h": 143
  },
  "luminance": 0.19043
}

Semantic roles & 50–950 ramp

primary
#278B27
secondary
#B658B6
accent
#48DFDF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #278B27

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

Preview Lab → · Contrast checker → · Palette generator →

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