#278E2A#278E2A

#278E2A is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.8% C 0.166 H 143.4°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#278E2A
RGBrgb(39, 142, 42)
HSLhsl(122, 57%, 35%)
HSVhsv(122, 73%, 56%)
CMYKcmyk(72.5%, 0%, 70.4%, 44.3%)
CIE-LABlab(51.77, -49.00, 43.08)
CIE-LCHlch(51.77, 65.25, 138.68°)
OKLaboklab(56.81% -0.1329 0.0988)
OKLCHoklch(56.81% 0.166 143.4)
XYZxyz(10.9269, 19.9433, 5.4636)
Luminance0.1994 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278E2A #8E278B
analogous
#578E27 #278E2A #278E5E
triadic
#278E2A #2A278E #8E2A27
tetradic
#278E2A #27578E #8E278B #8E5E27
square
#278E2A #27578E #8E278B #8E5E27
split-complementary
#278E2A #5E278E #8E2757
monochromatic
#0D2E0E #1A5E1C #278E2A #34BE38 #5DD260

Accessibility & contrast

On white

4.21
#278E2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#278E2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #278E2A
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278E2A#FFFFFF#000000##000000
##278E2A1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#91801B
Deuteranopia (green-blind)
#857834
Tritanopia (blue-blind)
#028A7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #278e2a;
/* rgb */ color: rgb(39, 142, 42);
/* oklch */ color: oklch(56.8% 0.166 143.4);
Tailwind
colors: {
  custom: {
    50: '#71b069',
    500: '#278e2a',
    950: '#000000',
  },
}
SCSS
$custom: #278e2a;
$custom-light: #71b069;
$custom-dark: #000000;
JSON
{
  "hex": "#278e2a",
  "rgb": {
    "r": 39,
    "g": 142,
    "b": 42
  },
  "hsl": {
    "h": 121.748,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56809,
    "c": 0.16559,
    "h": 143.4
  },
  "luminance": 0.19945
}

Semantic roles & 50–950 ramp

primary
#278E2A
secondary
#B859B5
accent
#48DCE0
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091107
muted
#7B807A

Preview Lab

Preview with #278E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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