#278D1F#278D1F

#278D1F is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.4% C 0.171 H 142.1°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#278D1F
RGBrgb(39, 141, 31)
HSLhsl(116, 64%, 34%)
HSVhsv(116, 78%, 55%)
CMYKcmyk(72.3%, 0%, 78%, 44.7%)
CIE-LABlab(51.36, -49.60, 46.90)
CIE-LCHlch(51.36, 68.27, 136.60°)
OKLaboklab(56.44% -0.1351 0.1053)
OKLCHoklch(56.44% 0.171 142.1)
XYZxyz(10.6083, 19.5789, 4.5161)
Luminance0.1958 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278D1F #851F8D
analogous
#5E8D1F #278D1F #1F8D4E
triadic
#278D1F #1F278D #8D1F27
tetradic
#278D1F #1F5E8D #851F8D #8D4E1F
square
#278D1F #1F5E8D #851F8D #8D4E1F
split-complementary
#278D1F #4E1F8D #8D1F5E
monochromatic
#0B2909 #195B14 #278D1F #35BF2A #58D84E

Accessibility & contrast

On white

4.27
#278D1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#278D1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #278D1F
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278D1F#FFFFFF#000000##000000
##278D1F1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F05
Deuteranopia (green-blind)
#85772B
Tritanopia (blue-blind)
#098978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #278d1f;
/* rgb */ color: rgb(39, 141, 31);
/* oklch */ color: oklch(56.4% 0.171 142.1);
Tailwind
colors: {
  custom: {
    50: '#72af63',
    500: '#278d1f',
    950: '#000000',
  },
}
SCSS
$custom: #278d1f;
$custom-light: #72af63;
$custom-dark: #000000;
JSON
{
  "hex": "#278d1f",
  "rgb": {
    "r": 39,
    "g": 141,
    "b": 31
  },
  "hsl": {
    "h": 115.636,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.5644,
    "c": 0.17126,
    "h": 142.1
  },
  "luminance": 0.1958
}

Semantic roles & 50–950 ramp

primary
#278D1F
secondary
#B34DBB
accent
#41E7DB
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #278D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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