#478D5E#478D5E

#478D5E is a mid, moderate green. Relative luminance 0.212; OKLCH L 58.5% C 0.102 H 152.7°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#478D5E
RGBrgb(71, 141, 94)
HSLhsl(140, 33%, 42%)
HSVhsv(140, 50%, 55%)
CMYKcmyk(49.6%, 0%, 33.3%, 44.7%)
CIE-LABlab(53.16, -33.17, 18.46)
CIE-LCHlch(53.16, 37.96, 150.90°)
OKLaboklab(58.47% -0.0904 0.0466)
OKLCHoklch(58.47% 0.102 152.7)
XYZxyz(14.1428, 21.1964, 13.9336)
Luminance0.2120 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478D5E #8D4776
analogous
#538D47 #478D5E #478D81
triadic
#478D5E #5E478D #8D5E47
tetradic
#478D5E #47538D #8D4776 #8D8147
square
#478D5E #47538D #8D4776 #8D8147
split-complementary
#478D5E #81478D #8D4753
monochromatic
#1E3C28 #336443 #478D5E #62B07B #8AC49D

Accessibility & contrast

On white

4.01
#478D5E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#478D5E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478D5E
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478D5E#FFFFFF#000000##000000
##478D5E1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D835B
Deuteranopia (green-blind)
#837C61
Tritanopia (blue-blind)
#378B81
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #478d5e;
/* rgb */ color: rgb(71, 141, 94);
/* oklch */ color: oklch(58.5% 0.102 152.7);
Tailwind
colors: {
  custom: {
    50: '#7faf8c',
    500: '#478d5e',
    950: '#000000',
  },
}
SCSS
$custom: #478d5e;
$custom-light: #7faf8c;
$custom-dark: #000000;
JSON
{
  "hex": "#478d5e",
  "rgb": {
    "r": 71,
    "g": 141,
    "b": 94
  },
  "hsl": {
    "h": 139.714,
    "s": 33.019,
    "l": 41.569
  },
  "oklch": {
    "l": 0.58468,
    "c": 0.10165,
    "h": 152.7
  },
  "luminance": 0.21197
}

Semantic roles & 50–950 ramp

primary
#478D5E
secondary
#B080A0
accent
#5FA6C9
background
#F8FAF8
surface
#EFF4F0
border
#CACECB
text
#0A100C
muted
#7C7F7D

Preview Lab

Preview with #478D5E

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

Preview Lab → · Contrast checker → · Palette generator →

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