#278F20#278F20

#278F20 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.0% C 0.173 H 142.2°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#278F20
RGBrgb(39, 143, 32)
HSLhsl(116, 63%, 34%)
HSVhsv(116, 78%, 56%)
CMYKcmyk(72.7%, 0%, 77.6%, 43.9%)
CIE-LABlab(52.04, -50.21, 47.22)
CIE-LCHlch(52.04, 68.93, 136.76°)
OKLaboklab(57.01% -0.1367 0.1061)
OKLCHoklch(57.01% 0.173 142.2)
XYZxyz(10.9192, 20.1793, 4.6858)
Luminance0.2018 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278F20 #88208F
analogous
#5F8F20 #278F20 #208F51
triadic
#278F20 #20278F #8F2027
tetradic
#278F20 #205F8F #88208F #8F5120
square
#278F20 #205F8F #88208F #8F5120
split-complementary
#278F20 #51208F #8F205F
monochromatic
#0C2B0A #195D15 #278F20 #35C12B #5AD851

Accessibility & contrast

On white

4.17
#278F20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#278F20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #278F20
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278F20#FFFFFF#000000##000000
##278F201.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#928106
Deuteranopia (green-blind)
#87792C
Tritanopia (blue-blind)
#068B7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #278f20;
/* rgb */ color: rgb(39, 143, 32);
/* oklch */ color: oklch(57.0% 0.173 142.2);
Tailwind
colors: {
  custom: {
    50: '#72b164',
    500: '#278f20',
    950: '#000000',
  },
}
SCSS
$custom: #278f20;
$custom-light: #72b164;
$custom-dark: #000000;
JSON
{
  "hex": "#278f20",
  "rgb": {
    "r": 39,
    "g": 143,
    "b": 32
  },
  "hsl": {
    "h": 116.216,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57007,
    "c": 0.17302,
    "h": 142.2
  },
  "luminance": 0.20181
}

Semantic roles & 50–950 ramp

primary
#278F20
secondary
#B54FBB
accent
#41E6DC
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #278F20

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

Preview Lab → · Contrast checker → · Palette generator →

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