#278728#278728

#278728 is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.8% C 0.158 H 143.2°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#278728
RGBrgb(39, 135, 40)
HSLhsl(121, 55%, 34%)
HSVhsv(121, 71%, 53%)
CMYKcmyk(71.1%, 0%, 70.4%, 47.1%)
CIE-LABlab(49.39, -46.73, 41.39)
CIE-LCHlch(49.39, 62.42, 138.47°)
OKLaboklab(54.83% -0.1268 0.095)
OKLCHoklch(54.83% 0.158 143.2)
XYZxyz(9.8831, 17.9114, 4.9435)
Luminance0.1791 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278728 #872786
analogous
#568727 #278728 #278758
triadic
#278728 #282787 #872827
tetradic
#278728 #275687 #872786 #875827
square
#278728 #275687 #872786 #875827
split-complementary
#278728 #582787 #872756
monochromatic
#0C280C #19581A #278728 #35B636 #59CF5B

Accessibility & contrast

On white

4.58
#278728 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#278728 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #278728
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278728#FFFFFF#000000##000000
##2787281.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A1A
Deuteranopia (green-blind)
#7F7231
Tritanopia (blue-blind)
#0A8374
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #278728;
/* rgb */ color: rgb(39, 135, 40);
/* oklch */ color: oklch(54.8% 0.158 143.2);
Tailwind
colors: {
  custom: {
    50: '#70ab67',
    500: '#278728',
    950: '#000000',
  },
}
SCSS
$custom: #278728;
$custom-light: #70ab67;
$custom-dark: #000000;
JSON
{
  "hex": "#278728",
  "rgb": {
    "r": 39,
    "g": 135,
    "b": 40
  },
  "hsl": {
    "h": 120.625,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.54827,
    "c": 0.15845,
    "h": 143.2
  },
  "luminance": 0.17912
}

Semantic roles & 50–950 ramp

primary
#278728
secondary
#B456B3
accent
#49DDDF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #278728

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

Preview Lab → · Contrast checker → · Palette generator →

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