#278A2F#278A2F

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

Color values

HEX#278A2F
RGBrgb(39, 138, 47)
HSLhsl(125, 56%, 35%)
HSVhsv(125, 72%, 54%)
CMYKcmyk(71.7%, 0%, 65.9%, 45.9%)
CIE-LABlab(50.47, -47.06, 39.48)
CIE-LCHlch(50.47, 61.42, 140.01°)
OKLaboklab(55.74% -0.1274 0.0918)
OKLCHoklch(55.74% 0.157 144.2)
XYZxyz(10.4376, 18.8124, 5.7699)
Luminance0.1881 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278A2F #8A2782
analogous
#518A27 #278A2F #278A60
triadic
#278A2F #2F278A #8A2F27
tetradic
#278A2F #27518A #8A2782 #8A6027
square
#278A2F #27518A #8A2782 #8A6027
split-complementary
#278A2F #60278A #8A2751
monochromatic
#0C2B0E #1A5A1F #278A2F #34BA3F #5BD164

Accessibility & contrast

On white

4.41
#278A2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##278A2F#FFFFFF#000000##000000
##278A2F1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D24
Deuteranopia (green-blind)
#817537
Tritanopia (blue-blind)
#038677
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #278a2f;
/* rgb */ color: rgb(39, 138, 47);
/* oklch */ color: oklch(55.7% 0.157 144.2);
Tailwind
colors: {
  custom: {
    50: '#70ad6c',
    500: '#278a2f',
    950: '#000000',
  },
}
SCSS
$custom: #278a2f;
$custom-light: #70ad6c;
$custom-dark: #000000;
JSON
{
  "hex": "#278a2f",
  "rgb": {
    "r": 39,
    "g": 138,
    "b": 47
  },
  "hsl": {
    "h": 124.848,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.55741,
    "c": 0.15699,
    "h": 144.2
  },
  "luminance": 0.18814
}

Semantic roles & 50–950 ramp

primary
#278A2F
secondary
#B657AE
accent
#49D3DF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #278A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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