#278B1F#278B1F

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

Color values

HEX#278B1F
RGBrgb(39, 139, 31)
HSLhsl(116, 64%, 33%)
HSVhsv(116, 78%, 55%)
CMYKcmyk(71.9%, 0%, 77.7%, 45.5%)
CIE-LABlab(50.68, -48.91, 46.24)
CIE-LCHlch(50.68, 67.31, 136.61°)
OKLaboklab(55.88% -0.1332 0.1039)
OKLCHoklch(55.88% 0.169 142)
XYZxyz(10.3161, 18.9944, 4.4187)
Luminance0.1900 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278B1F #831F8B
analogous
#5D8B1F #278B1F #1F8B4D
triadic
#278B1F #1F278B #8B1F27
tetradic
#278B1F #1F5D8B #831F8B #8B4D1F
square
#278B1F #1F5D8B #831F8B #8B4D1F
split-complementary
#278B1F #4D1F8B #8B1F5D
monochromatic
#0B2709 #195914 #278B1F #35BD2A #57D74D

Accessibility & contrast

On white

4.38
#278B1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#278B1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #278B1F
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278B1F#FFFFFF#000000##000000
##278B1F1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D06
Deuteranopia (green-blind)
#83762B
Tritanopia (blue-blind)
#0B8776
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #278b1f;
/* rgb */ color: rgb(39, 139, 31);
/* oklch */ color: oklch(55.9% 0.169 142.0);
Tailwind
colors: {
  custom: {
    50: '#71ae63',
    500: '#278b1f',
    950: '#000000',
  },
}
SCSS
$custom: #278b1f;
$custom-light: #71ae63;
$custom-dark: #000000;
JSON
{
  "hex": "#278b1f",
  "rgb": {
    "r": 39,
    "g": 139,
    "b": 31
  },
  "hsl": {
    "h": 115.556,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.55878,
    "c": 0.16894,
    "h": 142
  },
  "luminance": 0.18996
}

Semantic roles & 50–950 ramp

primary
#278B1F
secondary
#B24CBA
accent
#41E7DA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #278B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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