#278726#278726

#278726 is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.8% C 0.160 H 142.9°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#278726
RGBrgb(39, 135, 38)
HSLhsl(119, 56%, 34%)
HSVhsv(119, 72%, 53%)
CMYKcmyk(71.1%, 0%, 71.9%, 47.1%)
CIE-LABlab(49.37, -46.92, 42.21)
CIE-LCHlch(49.37, 63.12, 138.02°)
OKLaboklab(54.81% -0.1274 0.0965)
OKLCHoklch(54.81% 0.16 142.9)
XYZxyz(9.8499, 17.8982, 4.7689)
Luminance0.1790 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278726 #862687
analogous
#588726 #278726 #268756
triadic
#278726 #262787 #872627
tetradic
#278726 #265887 #862687 #875626
square
#278726 #265887 #862687 #875626
split-complementary
#278726 #562687 #872658
monochromatic
#0B270B #195719 #278726 #35B733 #59D058

Accessibility & contrast

On white

4.59
#278726 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #278726
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278726#FFFFFF#000000##FFFFFF
##2787261.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A17
Deuteranopia (green-blind)
#7F722F
Tritanopia (blue-blind)
#0B8374
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #278726;
/* rgb */ color: rgb(39, 135, 38);
/* oklch */ color: oklch(54.8% 0.160 142.9);
Tailwind
colors: {
  custom: {
    50: '#70ab66',
    500: '#278726',
    950: '#000000',
  },
}
SCSS
$custom: #278726;
$custom-light: #70ab66;
$custom-dark: #000000;
JSON
{
  "hex": "#278726",
  "rgb": {
    "r": 39,
    "g": 135,
    "b": 38
  },
  "hsl": {
    "h": 119.381,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.54808,
    "c": 0.15984,
    "h": 142.9
  },
  "luminance": 0.17899
}

Semantic roles & 50–950 ramp

primary
#278726
secondary
#B454B5
accent
#48DFDE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #278726

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

Preview Lab → · Contrast checker → · Palette generator →

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