#278520#278520

#278520 is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.2% C 0.161 H 142.1°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#278520
RGBrgb(39, 133, 32)
HSLhsl(116, 61%, 32%)
HSVhsv(116, 76%, 52%)
CMYKcmyk(70.7%, 0%, 75.9%, 47.8%)
CIE-LABlab(48.65, -46.74, 43.85)
CIE-LCHlch(48.65, 64.09, 136.83°)
OKLaboklab(54.19% -0.1273 0.0991)
OKLCHoklch(54.19% 0.161 142.1)
XYZxyz(9.4844, 17.3097, 4.2075)
Luminance0.1731 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278520 #7E2085
analogous
#598520 #278520 #20854C
triadic
#278520 #202785 #852027
tetradic
#278520 #205985 #7E2085 #854C20
square
#278520 #205985 #7E2085 #854C20
split-complementary
#278520 #4C2085 #852059
monochromatic
#0A2208 #195414 #278520 #35B62C #55D44C

Accessibility & contrast

On white

4.71
#278520 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#278520 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #278520
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278520#FFFFFF#000000##FFFFFF
##2785201.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#88780C
Deuteranopia (green-blind)
#7D712B
Tritanopia (blue-blind)
#0F8171
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #278520;
/* rgb */ color: rgb(39, 133, 32);
/* oklch */ color: oklch(54.2% 0.161 142.1);
Tailwind
colors: {
  custom: {
    50: '#70a963',
    500: '#278520',
    950: '#000000',
  },
}
SCSS
$custom: #278520;
$custom-light: #70a963;
$custom-dark: #000000;
JSON
{
  "hex": "#278520",
  "rgb": {
    "r": 39,
    "g": 133,
    "b": 32
  },
  "hsl": {
    "h": 115.842,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54193,
    "c": 0.16129,
    "h": 142.1
  },
  "luminance": 0.17311
}

Semantic roles & 50–950 ramp

primary
#278520
secondary
#AF4AB7
accent
#43E4D9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #278520

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

Preview Lab → · Contrast checker → · Palette generator →

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