#278A1F#278A1F

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

Color values

HEX#278A1F
RGBrgb(39, 138, 31)
HSLhsl(116, 63%, 33%)
HSVhsv(116, 78%, 54%)
CMYKcmyk(71.7%, 0%, 77.5%, 45.9%)
CIE-LABlab(50.34, -48.57, 45.90)
CIE-LCHlch(50.34, 66.83, 136.62°)
OKLaboklab(55.6% -0.1323 0.1032)
OKLCHoklch(55.6% 0.168 142)
XYZxyz(10.1719, 18.7061, 4.3706)
Luminance0.1871 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278A1F #821F8A
analogous
#5C8A1F #278A1F #1F8A4C
triadic
#278A1F #1F278A #8A1F27
tetradic
#278A1F #1F5C8A #821F8A #8A4C1F
square
#278A1F #1F5C8A #821F8A #8A4C1F
split-complementary
#278A1F #4C1F8A #8A1F5C
monochromatic
#0B2609 #195814 #278A1F #35BC2A #57D74C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##278A1F#FFFFFF#000000##000000
##278A1F1.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)
#8D7D07
Deuteranopia (green-blind)
#82752B
Tritanopia (blue-blind)
#0C8676
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #278a1f;
/* rgb */ color: rgb(39, 138, 31);
/* oklch */ color: oklch(55.6% 0.168 142.0);
Tailwind
colors: {
  custom: {
    50: '#71ad63',
    500: '#278a1f',
    950: '#000000',
  },
}
SCSS
$custom: #278a1f;
$custom-light: #71ad63;
$custom-dark: #000000;
JSON
{
  "hex": "#278a1f",
  "rgb": {
    "r": 39,
    "g": 138,
    "b": 31
  },
  "hsl": {
    "h": 115.514,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55596,
    "c": 0.16778,
    "h": 142
  },
  "luminance": 0.18707
}

Semantic roles & 50–950 ramp

primary
#278A1F
secondary
#B14BBA
accent
#41E6DA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #278A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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