#278840#278840

#278840 is a mid, vivid green. Relative luminance 0.184; OKLCH L 55.4% C 0.140 H 148.1°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#278840
RGBrgb(39, 136, 64)
HSLhsl(135, 55%, 34%)
HSVhsv(135, 71%, 53%)
CMYKcmyk(71.3%, 0%, 52.9%, 46.7%)
CIE-LABlab(49.99, -44.02, 30.55)
CIE-LCHlch(49.99, 53.58, 145.24°)
OKLaboklab(55.41% -0.1186 0.0738)
OKLCHoklch(55.41% 0.14 148.1)
XYZxyz(10.5655, 18.4087, 7.8459)
Luminance0.1841 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278840 #88276F
analogous
#3F8827 #278840 #278871
triadic
#278840 #402788 #884027
tetradic
#278840 #273F88 #88276F #887127
square
#278840 #273F88 #88276F #887127
split-complementary
#278840 #712788 #88273F
monochromatic
#0C2913 #19582A #278840 #35B856 #5AD078

Accessibility & contrast

On white

4.49
#278840 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#278840 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #278840
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278840#FFFFFF#000000##000000
##2788401.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#897C3A
Deuteranopia (green-blind)
#7E7445
Tritanopia (blue-blind)
#008577
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #278840;
/* rgb */ color: rgb(39, 136, 64);
/* oklch */ color: oklch(55.4% 0.140 148.1);
Tailwind
colors: {
  custom: {
    50: '#6fac76',
    500: '#278840',
    950: '#000000',
  },
}
SCSS
$custom: #278840;
$custom-light: #6fac76;
$custom-dark: #000000;
JSON
{
  "hex": "#278840",
  "rgb": {
    "r": 39,
    "g": 136,
    "b": 64
  },
  "hsl": {
    "h": 135.464,
    "s": 55.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.55407,
    "c": 0.13965,
    "h": 148.1
  },
  "luminance": 0.1841
}

Semantic roles & 50–950 ramp

primary
#278840
secondary
#B5569C
accent
#49B8DF
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #278840

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

Preview Lab → · Contrast checker → · Palette generator →

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