#478E5B#478E5B

#478E5B is a mid, moderate green. Relative luminance 0.214; OKLCH L 58.7% C 0.106 H 151.1°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#478E5B
RGBrgb(71, 142, 91)
HSLhsl(137, 33%, 42%)
HSVhsv(137, 50%, 56%)
CMYKcmyk(50%, 0%, 35.9%, 44.3%)
CIE-LABlab(53.43, -34.20, 20.50)
CIE-LCHlch(53.43, 39.88, 149.06°)
OKLaboklab(58.66% -0.093 0.0514)
OKLCHoklch(58.66% 0.106 151.1)
XYZxyz(14.1589, 21.4398, 13.2877)
Luminance0.2144 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478E5B #8E477A
analogous
#578E47 #478E5B #478E7F
triadic
#478E5B #5B478E #8E5B47
tetradic
#478E5B #47578E #8E477A #8E7F47
square
#478E5B #47578E #8E477A #8E7F47
split-complementary
#478E5B #7F478E #8E4757
monochromatic
#1E3C27 #336541 #478E5B #62B078 #8BC59B

Accessibility & contrast

On white

3.97
#478E5B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#478E5B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478E5B
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478E5B#FFFFFF#000000##000000
##478E5B1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8458
Deuteranopia (green-blind)
#847D5E
Tritanopia (blue-blind)
#388C81
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #478e5b;
/* rgb */ color: rgb(71, 142, 91);
/* oklch */ color: oklch(58.7% 0.106 151.1);
Tailwind
colors: {
  custom: {
    50: '#7faf8a',
    500: '#478e5b',
    950: '#000000',
  },
}
SCSS
$custom: #478e5b;
$custom-light: #7faf8a;
$custom-dark: #000000;
JSON
{
  "hex": "#478e5b",
  "rgb": {
    "r": 71,
    "g": 142,
    "b": 91
  },
  "hsl": {
    "h": 136.901,
    "s": 33.333,
    "l": 41.765
  },
  "oklch": {
    "l": 0.58664,
    "c": 0.10628,
    "h": 151.1
  },
  "luminance": 0.21441
}

Semantic roles & 50–950 ramp

primary
#478E5B
secondary
#B080A3
accent
#5EABC9
background
#F8FAF8
surface
#EFF5F0
border
#CACFCB
text
#0A100B
muted
#7C7F7C

Preview Lab

Preview with #478E5B

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

Preview Lab → · Contrast checker → · Palette generator →

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