#278B28#278B28

#278B28 is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.0% C 0.163 H 143.1°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#278B28
RGBrgb(39, 139, 40)
HSLhsl(121, 56%, 35%)
HSVhsv(121, 72%, 55%)
CMYKcmyk(71.9%, 0%, 71.2%, 45.5%)
CIE-LABlab(50.74, -48.15, 42.83)
CIE-LCHlch(50.74, 64.44, 138.35°)
OKLaboklab(55.95% -0.1307 0.098)
OKLCHoklch(55.95% 0.163 143.1)
XYZxyz(10.4517, 19.0486, 5.1330)
Luminance0.1905 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278B28 #8B278A
analogous
#588B27 #278B28 #278B5A
triadic
#278B28 #28278B #8B2827
tetradic
#278B28 #27588B #8B278A #8B5A27
square
#278B28 #27588B #8B278A #8B5A27
split-complementary
#278B28 #5A278B #8B2758
monochromatic
#0C2B0C #1A5B1A #278B28 #34BB36 #5BD15D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##278B28#FFFFFF#000000##000000
##278B281.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)
#8E7E19
Deuteranopia (green-blind)
#827632
Tritanopia (blue-blind)
#068777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #278b28;
/* rgb */ color: rgb(39, 139, 40);
/* oklch */ color: oklch(56.0% 0.163 143.1);
Tailwind
colors: {
  custom: {
    50: '#71ae68',
    500: '#278b28',
    950: '#000000',
  },
}
SCSS
$custom: #278b28;
$custom-light: #71ae68;
$custom-dark: #000000;
JSON
{
  "hex": "#278b28",
  "rgb": {
    "r": 39,
    "g": 139,
    "b": 40
  },
  "hsl": {
    "h": 120.6,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55951,
    "c": 0.16333,
    "h": 143.1
  },
  "luminance": 0.1905
}

Semantic roles & 50–950 ramp

primary
#278B28
secondary
#B658B5
accent
#48DEDF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #278B28

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

Preview Lab → · Contrast checker → · Palette generator →

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