#478D4E#478D4E

#478D4E is a mid, moderate green. Relative luminance 0.209; OKLCH L 58.1% C 0.118 H 145.9°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#478D4E
RGBrgb(71, 141, 78)
HSLhsl(126, 33%, 42%)
HSVhsv(126, 50%, 55%)
CMYKcmyk(49.6%, 0%, 44.7%, 44.7%)
CIE-LABlab(52.88, -36.04, 26.94)
CIE-LCHlch(52.88, 45.00, 143.22°)
OKLaboklab(58.15% -0.0979 0.0662)
OKLCHoklch(58.15% 0.118 145.9)
XYZxyz(13.4978, 20.9384, 10.5365)
Luminance0.2094 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478D4E #8D4786
analogous
#638D47 #478D4E #478D71
triadic
#478D4E #4E478D #8D4E47
tetradic
#478D4E #47638D #8D4786 #8D7147
square
#478D4E #47638D #8D4786 #8D7147
split-complementary
#478D4E #71478D #8D4763
monochromatic
#1E3C21 #336437 #478D4E #62B069 #8AC490

Accessibility & contrast

On white

4.05
#478D4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#478D4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478D4E
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478D4E#FFFFFF#000000##000000
##478D4E1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8249
Deuteranopia (green-blind)
#857C52
Tritanopia (blue-blind)
#3C8A7E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #478d4e;
/* rgb */ color: rgb(71, 141, 78);
/* oklch */ color: oklch(58.1% 0.118 145.9);
Tailwind
colors: {
  custom: {
    50: '#7faf80',
    500: '#478d4e',
    950: '#000000',
  },
}
SCSS
$custom: #478d4e;
$custom-light: #7faf80;
$custom-dark: #000000;
JSON
{
  "hex": "#478d4e",
  "rgb": {
    "r": 71,
    "g": 141,
    "b": 78
  },
  "hsl": {
    "h": 126,
    "s": 33.019,
    "l": 41.569
  },
  "oklch": {
    "l": 0.58145,
    "c": 0.11816,
    "h": 145.9
  },
  "luminance": 0.20939
}

Semantic roles & 50–950 ramp

primary
#478D4E
secondary
#B080AB
accent
#5FBEC9
background
#F8FAF7
surface
#EFF4EE
border
#CACEC9
text
#0A100A
muted
#7C7F7C

Preview Lab

Preview with #478D4E

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

Preview Lab → · Contrast checker → · Palette generator →

#478D4E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva