#278B26#278B26

#278B26 is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.9% C 0.165 H 142.9°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#278B26
RGBrgb(39, 139, 38)
HSLhsl(119, 57%, 35%)
HSVhsv(119, 73%, 55%)
CMYKcmyk(71.9%, 0%, 72.7%, 45.5%)
CIE-LABlab(50.73, -48.33, 43.63)
CIE-LCHlch(50.73, 65.11, 137.93°)
OKLaboklab(55.93% -0.1313 0.0994)
OKLCHoklch(55.93% 0.165 142.9)
XYZxyz(10.4185, 19.0354, 4.9585)
Luminance0.1904 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278B26 #8A268B
analogous
#5A8B26 #278B26 #268B58
triadic
#278B26 #26278B #8B2627
tetradic
#278B26 #265A8B #8A268B #8B5826
square
#278B26 #265A8B #8A268B #8B5826
split-complementary
#278B26 #58268B #8B265A
monochromatic
#0C2B0C #1A5B19 #278B26 #34BB33 #5BD25A

Accessibility & contrast

On white

4.37
#278B26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#278B26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #278B26
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278B26#FFFFFF#000000##000000
##278B261.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E16
Deuteranopia (green-blind)
#837630
Tritanopia (blue-blind)
#078777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #278b26;
/* rgb */ color: rgb(39, 139, 38);
/* oklch */ color: oklch(55.9% 0.165 142.9);
Tailwind
colors: {
  custom: {
    50: '#71ae67',
    500: '#278b26',
    950: '#000000',
  },
}
SCSS
$custom: #278b26;
$custom-light: #71ae67;
$custom-dark: #000000;
JSON
{
  "hex": "#278b26",
  "rgb": {
    "r": 39,
    "g": 139,
    "b": 38
  },
  "hsl": {
    "h": 119.406,
    "s": 57.062,
    "l": 34.706
  },
  "oklch": {
    "l": 0.55933,
    "c": 0.16468,
    "h": 142.9
  },
  "luminance": 0.19037
}

Semantic roles & 50–950 ramp

primary
#278B26
secondary
#B656B7
accent
#47E0DF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #278B26

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

Preview Lab → · Contrast checker → · Palette generator →

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