#278E2F#278E2F

#278E2F is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.9% C 0.162 H 144.1°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#278E2F
RGBrgb(39, 142, 47)
HSLhsl(125, 57%, 35%)
HSVhsv(125, 73%, 56%)
CMYKcmyk(72.5%, 0%, 66.9%, 44.3%)
CIE-LABlab(51.82, -48.49, 40.97)
CIE-LCHlch(51.82, 63.48, 139.80°)
OKLaboklab(56.86% -0.1312 0.0949)
OKLCHoklch(56.86% 0.162 144.1)
XYZxyz(11.0221, 19.9814, 5.9647)
Luminance0.1998 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278E2F #8E2786
analogous
#528E27 #278E2F #278E62
triadic
#278E2F #2F278E #8E2F27
tetradic
#278E2F #27528E #8E2786 #8E6227
square
#278E2F #27528E #8E2786 #8E6227
split-complementary
#278E2F #62278E #8E2752
monochromatic
#0D2E0F #1A5E1F #278E2F #34BE3F #5DD266

Accessibility & contrast

On white

4.20
#278E2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#278E2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #278E2F
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278E2F#FFFFFF#000000##000000
##278E2F1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#918123
Deuteranopia (green-blind)
#857838
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #278e2f;
/* rgb */ color: rgb(39, 142, 47);
/* oklch */ color: oklch(56.9% 0.162 144.1);
Tailwind
colors: {
  custom: {
    50: '#71b06c',
    500: '#278e2f',
    950: '#000000',
  },
}
SCSS
$custom: #278e2f;
$custom-light: #71b06c;
$custom-dark: #000000;
JSON
{
  "hex": "#278e2f",
  "rgb": {
    "r": 39,
    "g": 142,
    "b": 47
  },
  "hsl": {
    "h": 124.66,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56859,
    "c": 0.16197,
    "h": 144.1
  },
  "luminance": 0.19983
}

Semantic roles & 50–950 ramp

primary
#278E2F
secondary
#B859B0
accent
#48D4E0
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#091107
muted
#7B807A

Preview Lab

Preview with #278E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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