#278F2F#278F2F

#278F2F is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.1% C 0.163 H 144.1°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#278F2F
RGBrgb(39, 143, 47)
HSLhsl(125, 57%, 36%)
HSVhsv(125, 73%, 56%)
CMYKcmyk(72.7%, 0%, 67.1%, 43.9%)
CIE-LABlab(52.15, -48.84, 41.34)
CIE-LCHlch(52.15, 63.98, 139.76°)
OKLaboklab(57.14% -0.1322 0.0957)
OKLCHoklch(57.14% 0.163 144.1)
XYZxyz(11.1715, 20.2803, 6.0145)
Luminance0.2028 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278F2F #8F2787
analogous
#538F27 #278F2F #278F63
triadic
#278F2F #2F278F #8F2F27
tetradic
#278F2F #27538F #8F2787 #8F6327
square
#278F2F #27538F #8F2787 #8F6327
split-complementary
#278F2F #63278F #8F2753
monochromatic
#0D2F0F #1A5F1F #278F2F #34BF3F #5DD366

Accessibility & contrast

On white

4.15
#278F2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#278F2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #278F2F
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278F2F#FFFFFF#000000##000000
##278F2F1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#928123
Deuteranopia (green-blind)
#867938
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #278f2f;
/* rgb */ color: rgb(39, 143, 47);
/* oklch */ color: oklch(57.1% 0.163 144.1);
Tailwind
colors: {
  custom: {
    50: '#71b16c',
    500: '#278f2f',
    950: '#000000',
  },
}
SCSS
$custom: #278f2f;
$custom-light: #71b16c;
$custom-dark: #000000;
JSON
{
  "hex": "#278f2f",
  "rgb": {
    "r": 39,
    "g": 143,
    "b": 47
  },
  "hsl": {
    "h": 124.615,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.57138,
    "c": 0.16321,
    "h": 144.1
  },
  "luminance": 0.20281
}

Semantic roles & 50–950 ramp

primary
#278F2F
secondary
#B85AB1
accent
#47D5E0
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #278F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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