#278F2D#278F2D

#278F2D is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.1% C 0.165 H 143.8°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#278F2D
RGBrgb(39, 143, 45)
HSLhsl(123, 57%, 36%)
HSVhsv(123, 73%, 56%)
CMYKcmyk(72.7%, 0%, 68.5%, 43.9%)
CIE-LABlab(52.13, -49.05, 42.19)
CIE-LCHlch(52.13, 64.70, 139.30°)
OKLaboklab(57.12% -0.1329 0.0973)
OKLCHoklch(57.12% 0.165 143.8)
XYZxyz(11.1321, 20.2645, 5.8069)
Luminance0.2027 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278F2D #8F2789
analogous
#558F27 #278F2D #278F61
triadic
#278F2D #2D278F #8F2D27
tetradic
#278F2D #27558F #8F2789 #8F6127
square
#278F2D #27558F #8F2789 #8F6127
split-complementary
#278F2D #61278F #8F2755
monochromatic
#0D2F0F #1A5F1E #278F2D #34BF3C #5DD364

Accessibility & contrast

On white

4.16
#278F2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#278F2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #278F2D
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278F2D#FFFFFF#000000##000000
##278F2D1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#928120
Deuteranopia (green-blind)
#867936
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #278f2d;
/* rgb */ color: rgb(39, 143, 45);
/* oklch */ color: oklch(57.1% 0.165 143.8);
Tailwind
colors: {
  custom: {
    50: '#72b16b',
    500: '#278f2d',
    950: '#000000',
  },
}
SCSS
$custom: #278f2d;
$custom-light: #72b16b;
$custom-dark: #000000;
JSON
{
  "hex": "#278f2d",
  "rgb": {
    "r": 39,
    "g": 143,
    "b": 45
  },
  "hsl": {
    "h": 123.462,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.57117,
    "c": 0.16468,
    "h": 143.8
  },
  "luminance": 0.20266
}

Semantic roles & 50–950 ramp

primary
#278F2D
secondary
#B85AB3
accent
#47D8E0
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #278F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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