#278B2F#278B2F

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

Color values

HEX#278B2F
RGBrgb(39, 139, 47)
HSLhsl(125, 56%, 35%)
HSVhsv(125, 72%, 55%)
CMYKcmyk(71.9%, 0%, 66.2%, 45.5%)
CIE-LABlab(50.80, -47.42, 39.85)
CIE-LCHlch(50.80, 61.94, 139.96°)
OKLaboklab(56.02% -0.1283 0.0926)
OKLCHoklch(56.02% 0.158 144.2)
XYZxyz(10.5817, 19.1007, 5.8179)
Luminance0.1910 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278B2F #8B2783
analogous
#518B27 #278B2F #278B61
triadic
#278B2F #2F278B #8B2F27
tetradic
#278B2F #27518B #8B2783 #8B6127
square
#278B2F #27518B #8B2783 #8B6127
split-complementary
#278B2F #61278B #8B2751
monochromatic
#0C2B0F #1A5B1F #278B2F #34BB3F #5BD165

Accessibility & contrast

On white

4.36
#278B2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#278B2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #278B2F
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278B2F#FFFFFF#000000##000000
##278B2F1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E24
Deuteranopia (green-blind)
#827637
Tritanopia (blue-blind)
#028778
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #278b2f;
/* rgb */ color: rgb(39, 139, 47);
/* oklch */ color: oklch(56.0% 0.158 144.2);
Tailwind
colors: {
  custom: {
    50: '#71ae6c',
    500: '#278b2f',
    950: '#000000',
  },
}
SCSS
$custom: #278b2f;
$custom-light: #71ae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#278b2f",
  "rgb": {
    "r": 39,
    "g": 139,
    "b": 47
  },
  "hsl": {
    "h": 124.8,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.5602,
    "c": 0.15824,
    "h": 144.2
  },
  "luminance": 0.19102
}

Semantic roles & 50–950 ramp

primary
#278B2F
secondary
#B658AF
accent
#48D3DF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #278B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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