#278E1F#278E1F

#278E1F is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.7% C 0.172 H 142.1°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#278E1F
RGBrgb(39, 142, 31)
HSLhsl(116, 64%, 34%)
HSVhsv(116, 78%, 56%)
CMYKcmyk(72.5%, 0%, 78.2%, 44.3%)
CIE-LABlab(51.70, -49.94, 47.23)
CIE-LCHlch(51.70, 68.74, 136.60°)
OKLaboklab(56.72% -0.136 0.106)
OKLCHoklch(56.72% 0.172 142.1)
XYZxyz(10.7564, 19.8751, 4.5655)
Luminance0.1988 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278E1F #861F8E
analogous
#5F8E1F #278E1F #1F8E4F
triadic
#278E1F #1F278E #8E1F27
tetradic
#278E1F #1F5F8E #861F8E #8E4F1F
square
#278E1F #1F5F8E #861F8E #8E4F1F
split-complementary
#278E1F #4F1F8E #8E1F5F
monochromatic
#0B2A09 #195C14 #278E1F #35C02A #59D94F

Accessibility & contrast

On white

4.22
#278E1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#278E1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #278E1F
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278E1F#FFFFFF#000000##000000
##278E1F1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#918004
Deuteranopia (green-blind)
#86782B
Tritanopia (blue-blind)
#078A79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #278e1f;
/* rgb */ color: rgb(39, 142, 31);
/* oklch */ color: oklch(56.7% 0.172 142.1);
Tailwind
colors: {
  custom: {
    50: '#72b063',
    500: '#278e1f',
    950: '#000000',
  },
}
SCSS
$custom: #278e1f;
$custom-light: #72b063;
$custom-dark: #000000;
JSON
{
  "hex": "#278e1f",
  "rgb": {
    "r": 39,
    "g": 142,
    "b": 31
  },
  "hsl": {
    "h": 115.676,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.5672,
    "c": 0.17242,
    "h": 142.1
  },
  "luminance": 0.19876
}

Semantic roles & 50–950 ramp

primary
#278E1F
secondary
#B44DBB
accent
#41E7DB
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091106
muted
#7B807A

Preview Lab

Preview with #278E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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