#278F38#278F38

#278F38 is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.2% C 0.156 H 145.7°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#278F38
RGBrgb(39, 143, 56)
HSLhsl(130, 57%, 36%)
HSVhsv(130, 73%, 56%)
CMYKcmyk(72.7%, 0%, 60.8%, 43.9%)
CIE-LABlab(52.24, -47.77, 37.27)
CIE-LCHlch(52.24, 60.59, 142.04°)
OKLaboklab(57.24% -0.1289 0.0879)
OKLCHoklch(57.24% 0.156 145.7)
XYZxyz(11.3722, 20.3605, 7.0713)
Luminance0.2036 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278F38 #8F277E
analogous
#4A8F27 #278F38 #278F6C
triadic
#278F38 #38278F #8F3827
tetradic
#278F38 #274A8F #8F277E #8F6C27
square
#278F38 #274A8F #8F277E #8F6C27
split-complementary
#278F38 #6C278F #8F274A
monochromatic
#0D2F12 #1A5F25 #278F38 #34BF4B #5DD371

Accessibility & contrast

On white

4.14
#278F38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#278F38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #278F38
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278F38#FFFFFF#000000##000000
##278F381.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#91822F
Deuteranopia (green-blind)
#85793F
Tritanopia (blue-blind)
#008B7C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #278f38;
/* rgb */ color: rgb(39, 143, 56);
/* oklch */ color: oklch(57.2% 0.156 145.7);
Tailwind
colors: {
  custom: {
    50: '#71b172',
    500: '#278f38',
    950: '#000000',
  },
}
SCSS
$custom: #278f38;
$custom-light: #71b172;
$custom-dark: #000000;
JSON
{
  "hex": "#278f38",
  "rgb": {
    "r": 39,
    "g": 143,
    "b": 56
  },
  "hsl": {
    "h": 129.808,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.57241,
    "c": 0.15605,
    "h": 145.7
  },
  "luminance": 0.20362
}

Semantic roles & 50–950 ramp

primary
#278F38
secondary
#B85AA9
accent
#47C7E0
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091108
muted
#7B807B

Preview Lab

Preview with #278F38

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

Preview Lab → · Contrast checker → · Palette generator →

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