#278C1F#278C1F

#278C1F is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.2% C 0.170 H 142.0°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#278C1F
RGBrgb(39, 140, 31)
HSLhsl(116, 64%, 34%)
HSVhsv(116, 78%, 55%)
CMYKcmyk(72.1%, 0%, 77.9%, 45.1%)
CIE-LABlab(51.02, -49.26, 46.57)
CIE-LCHlch(51.02, 67.79, 136.61°)
OKLaboklab(56.16% -0.1341 0.1046)
OKLCHoklch(56.16% 0.17 142)
XYZxyz(10.4615, 19.2853, 4.4672)
Luminance0.1929 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278C1F #841F8C
analogous
#5D8C1F #278C1F #1F8C4D
triadic
#278C1F #1F278C #8C1F27
tetradic
#278C1F #1F5D8C #841F8C #8C4D1F
square
#278C1F #1F5D8C #841F8C #8C4D1F
split-complementary
#278C1F #4D1F8C #8C1F5D
monochromatic
#0B2809 #195A14 #278C1F #35BE2A #58D84E

Accessibility & contrast

On white

4.32
#278C1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#278C1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #278C1F
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278C1F#FFFFFF#000000##000000
##278C1F1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E06
Deuteranopia (green-blind)
#84762B
Tritanopia (blue-blind)
#0A8877
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #278c1f;
/* rgb */ color: rgb(39, 140, 31);
/* oklch */ color: oklch(56.2% 0.170 142.0);
Tailwind
colors: {
  custom: {
    50: '#72af63',
    500: '#278c1f',
    950: '#000000',
  },
}
SCSS
$custom: #278c1f;
$custom-light: #72af63;
$custom-dark: #000000;
JSON
{
  "hex": "#278c1f",
  "rgb": {
    "r": 39,
    "g": 140,
    "b": 31
  },
  "hsl": {
    "h": 115.596,
    "s": 63.743,
    "l": 33.529
  },
  "oklch": {
    "l": 0.56159,
    "c": 0.17011,
    "h": 142
  },
  "luminance": 0.19286
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #278C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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