#278540#278540

#278540 is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.6% C 0.136 H 148.4°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#278540
RGBrgb(39, 133, 64)
HSLhsl(136, 55%, 34%)
HSVhsv(136, 71%, 52%)
CMYKcmyk(70.7%, 0%, 51.9%, 47.8%)
CIE-LABlab(48.98, -42.87, 29.30)
CIE-LCHlch(48.98, 51.92, 145.65°)
OKLaboklab(54.57% -0.1155 0.071)
OKLCHoklch(54.57% 0.136 148.4)
XYZxyz(10.1489, 17.5755, 7.7070)
Luminance0.1758 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278540 #85276C
analogous
#3D8527 #278540 #27856F
triadic
#278540 #402785 #854027
tetradic
#278540 #273D85 #85276C #856F27
square
#278540 #273D85 #85276C #856F27
split-complementary
#278540 #6F2785 #85273D
monochromatic
#0B2612 #195629 #278540 #35B457 #58CE78

Accessibility & contrast

On white

4.65
#278540 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#278540 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #278540
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278540#FFFFFF#000000##FFFFFF
##2785401.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86793A
Deuteranopia (green-blind)
#7B7145
Tritanopia (blue-blind)
#008275
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #278540;
/* rgb */ color: rgb(39, 133, 64);
/* oklch */ color: oklch(54.6% 0.136 148.4);
Tailwind
colors: {
  custom: {
    50: '#6ea976',
    500: '#278540',
    950: '#000000',
  },
}
SCSS
$custom: #278540;
$custom-light: #6ea976;
$custom-dark: #000000;
JSON
{
  "hex": "#278540",
  "rgb": {
    "r": 39,
    "g": 133,
    "b": 64
  },
  "hsl": {
    "h": 135.957,
    "s": 54.651,
    "l": 33.725
  },
  "oklch": {
    "l": 0.54572,
    "c": 0.13555,
    "h": 148.4
  },
  "luminance": 0.17577
}

Semantic roles & 50–950 ramp

primary
#278540
secondary
#B3559A
accent
#4AB7DE
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #278540

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

Preview Lab → · Contrast checker → · Palette generator →

#278540 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva