#278A1B#278A1B

#278A1B is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.6% C 0.170 H 141.6°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#278A1B
RGBrgb(39, 138, 27)
HSLhsl(114, 67%, 32%)
HSVhsv(114, 80%, 54%)
CMYKcmyk(71.7%, 0%, 80.4%, 45.9%)
CIE-LABlab(50.32, -48.85, 47.25)
CIE-LCHlch(50.32, 67.96, 135.95°)
OKLaboklab(55.57% -0.1332 0.1055)
OKLCHoklch(55.57% 0.17 141.6)
XYZxyz(10.1224, 18.6863, 4.1101)
Luminance0.1869 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278A1B #7E1B8A
analogous
#5E8A1B #278A1B #1B8A47
triadic
#278A1B #1B278A #8A1B27
tetradic
#278A1B #1B5E8A #7E1B8A #8A471B
square
#278A1B #1B5E8A #7E1B8A #8A471B
split-complementary
#278A1B #471B8A #8A1B5E
monochromatic
#0A2407 #195711 #278A1B #35BD25 #55DB45

Accessibility & contrast

On white

4.43
#278A1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#278A1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #278A1B
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278A1B#FFFFFF#000000##000000
##278A1B1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#827528
Tritanopia (blue-blind)
#0D8675
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #278a1b;
/* rgb */ color: rgb(39, 138, 27);
/* oklch */ color: oklch(55.6% 0.170 141.6);
Tailwind
colors: {
  custom: {
    50: '#71ad61',
    500: '#278a1b',
    950: '#000000',
  },
}
SCSS
$custom: #278a1b;
$custom-light: #71ad61;
$custom-dark: #000000;
JSON
{
  "hex": "#278a1b",
  "rgb": {
    "r": 39,
    "g": 138,
    "b": 27
  },
  "hsl": {
    "h": 113.514,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55569,
    "c": 0.16993,
    "h": 141.6
  },
  "luminance": 0.18687
}

Semantic roles & 50–950 ramp

primary
#278A1B
secondary
#AF45BC
accent
#3EEAD8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #278A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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