#278020#278020

#278020 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.8% C 0.155 H 142.1°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#278020
RGBrgb(39, 128, 32)
HSLhsl(116, 60%, 31%)
HSVhsv(116, 75%, 50%)
CMYKcmyk(69.5%, 0%, 75%, 49.8%)
CIE-LABlab(46.94, -44.96, 42.11)
CIE-LCHlch(46.94, 61.60, 136.87°)
OKLaboklab(52.78% -0.1224 0.0955)
OKLCHoklch(52.78% 0.155 142.1)
XYZxyz(8.8161, 15.9730, 3.9847)
Luminance0.1597 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278020 #792080
analogous
#578020 #278020 #208049
triadic
#278020 #202780 #802027
tetradic
#278020 #205780 #792080 #804920
square
#278020 #205780 #792080 #804920
split-complementary
#278020 #492080 #802057
monochromatic
#091E08 #184F14 #278020 #36B12C #53D149

Accessibility & contrast

On white

5.01
#278020 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#278020 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #278020
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278020#FFFFFF#000000##FFFFFF
##2780201.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83740F
Deuteranopia (green-blind)
#796D2A
Tritanopia (blue-blind)
#137C6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #278020;
/* rgb */ color: rgb(39, 128, 32);
/* oklch */ color: oklch(52.8% 0.155 142.1);
Tailwind
colors: {
  custom: {
    50: '#6fa662',
    500: '#278020',
    950: '#000000',
  },
}
SCSS
$custom: #278020;
$custom-light: #6fa662;
$custom-dark: #000000;
JSON
{
  "hex": "#278020",
  "rgb": {
    "r": 39,
    "g": 128,
    "b": 32
  },
  "hsl": {
    "h": 115.625,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52777,
    "c": 0.15526,
    "h": 142.1
  },
  "luminance": 0.15974
}

Semantic roles & 50–950 ramp

primary
#278020
secondary
#AB49B3
accent
#45E3D8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #278020

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

Preview Lab → · Contrast checker → · Palette generator →

#278020 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva