#278C2D#278C2D

#278C2D is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.3% C 0.161 H 143.9°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#278C2D
RGBrgb(39, 140, 45)
HSLhsl(124, 56%, 35%)
HSVhsv(124, 72%, 55%)
CMYKcmyk(72.1%, 0%, 67.9%, 45.1%)
CIE-LABlab(51.12, -47.99, 41.09)
CIE-LCHlch(51.12, 63.18, 139.43°)
OKLaboklab(56.28% -0.13 0.095)
OKLCHoklch(56.28% 0.161 143.9)
XYZxyz(10.6878, 19.3758, 5.6588)
Luminance0.1938 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278C2D #8C2786
analogous
#548C27 #278C2D #278C5F
triadic
#278C2D #2D278C #8C2D27
tetradic
#278C2D #27548C #8C2786 #8C5F27
square
#278C2D #27548C #8C2786 #8C5F27
split-complementary
#278C2D #5F278C #8C2754
monochromatic
#0C2C0E #1A5C1E #278C2D #34BC3C #5CD263

Accessibility & contrast

On white

4.31
#278C2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#278C2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #278C2D
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278C2D#FFFFFF#000000##000000
##278C2D1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F21
Deuteranopia (green-blind)
#837736
Tritanopia (blue-blind)
#028878
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #278c2d;
/* rgb */ color: rgb(39, 140, 45);
/* oklch */ color: oklch(56.3% 0.161 143.9);
Tailwind
colors: {
  custom: {
    50: '#71af6b',
    500: '#278c2d',
    950: '#000000',
  },
}
SCSS
$custom: #278c2d;
$custom-light: #71af6b;
$custom-dark: #000000;
JSON
{
  "hex": "#278c2d",
  "rgb": {
    "r": 39,
    "g": 140,
    "b": 45
  },
  "hsl": {
    "h": 123.564,
    "s": 56.425,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56279,
    "c": 0.16099,
    "h": 143.9
  },
  "luminance": 0.19377
}

Semantic roles & 50–950 ramp

primary
#278C2D
secondary
#B758B1
accent
#48D7E0
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #278C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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