#278A28#278A28

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

Color values

HEX#278A28
RGBrgb(39, 138, 40)
HSLhsl(121, 56%, 35%)
HSVhsv(121, 72%, 54%)
CMYKcmyk(71.7%, 0%, 71%, 45.9%)
CIE-LABlab(50.41, -47.79, 42.47)
CIE-LCHlch(50.41, 63.94, 138.38°)
OKLaboklab(55.67% -0.1297 0.0973)
OKLCHoklch(55.67% 0.162 143.1)
XYZxyz(10.3076, 18.7604, 5.0850)
Luminance0.1876 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278A28 #8A2789
analogous
#588A27 #278A28 #278A5A
triadic
#278A28 #28278A #8A2827
tetradic
#278A28 #27588A #8A2789 #8A5A27
square
#278A28 #27588A #8A2789 #8A5A27
split-complementary
#278A28 #5A278A #8A2758
monochromatic
#0C2B0C #1A5A1A #278A28 #34BA36 #5BD15C

Accessibility & contrast

On white

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

On black

4.75
#278A28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #278A28
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278A28#FFFFFF#000000##000000
##278A281.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D19
Deuteranopia (green-blind)
#817531
Tritanopia (blue-blind)
#078676
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #278a28;
/* rgb */ color: rgb(39, 138, 40);
/* oklch */ color: oklch(55.7% 0.162 143.1);
Tailwind
colors: {
  custom: {
    50: '#71ad67',
    500: '#278a28',
    950: '#000000',
  },
}
SCSS
$custom: #278a28;
$custom-light: #71ad67;
$custom-dark: #000000;
JSON
{
  "hex": "#278a28",
  "rgb": {
    "r": 39,
    "g": 138,
    "b": 40
  },
  "hsl": {
    "h": 120.606,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.5567,
    "c": 0.16212,
    "h": 143.1
  },
  "luminance": 0.18761
}

Semantic roles & 50–950 ramp

primary
#278A28
secondary
#B657B5
accent
#49DEDF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #278A28

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

Preview Lab → · Contrast checker → · Palette generator →

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