#278A2A#278A2A

#278A2A is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.7% C 0.161 H 143.4°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#278A2A
RGBrgb(39, 138, 42)
HSLhsl(122, 56%, 35%)
HSVhsv(122, 72%, 54%)
CMYKcmyk(71.7%, 0%, 69.6%, 45.9%)
CIE-LABlab(50.42, -47.59, 41.64)
CIE-LCHlch(50.42, 63.24, 138.82°)
OKLaboklab(55.69% -0.1291 0.0958)
OKLCHoklch(55.69% 0.161 143.4)
XYZxyz(10.3425, 18.7743, 5.2688)
Luminance0.1878 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278A2A #8A2787
analogous
#568A27 #278A2A #278A5B
triadic
#278A2A #2A278A #8A2A27
tetradic
#278A2A #27568A #8A2787 #8A5B27
square
#278A2A #27568A #8A2787 #8A5B27
split-complementary
#278A2A #5B278A #8A2756
monochromatic
#0C2B0D #1A5A1B #278A2A #34BA39 #5BD15E

Accessibility & contrast

On white

4.42
#278A2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#278A2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #278A2A
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278A2A#FFFFFF#000000##000000
##278A2A1.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D1D
Deuteranopia (green-blind)
#817533
Tritanopia (blue-blind)
#068677
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #278a2a;
/* rgb */ color: rgb(39, 138, 42);
/* oklch */ color: oklch(55.7% 0.161 143.4);
Tailwind
colors: {
  custom: {
    50: '#71ad69',
    500: '#278a2a',
    950: '#000000',
  },
}
SCSS
$custom: #278a2a;
$custom-light: #71ad69;
$custom-dark: #000000;
JSON
{
  "hex": "#278a2a",
  "rgb": {
    "r": 39,
    "g": 138,
    "b": 42
  },
  "hsl": {
    "h": 121.818,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.55689,
    "c": 0.16072,
    "h": 143.4
  },
  "luminance": 0.18775
}

Semantic roles & 50–950 ramp

primary
#278A2A
secondary
#B657B3
accent
#49DBDF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #278A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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