#478E5F#478E5F

#478E5F is a mid, moderate green. Relative luminance 0.215; OKLCH L 58.8% C 0.102 H 153.1°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#478E5F
RGBrgb(71, 142, 95)
HSLhsl(140, 33%, 42%)
HSVhsv(140, 50%, 56%)
CMYKcmyk(50%, 0%, 33.1%, 44.3%)
CIE-LABlab(53.50, -33.43, 18.36)
CIE-LCHlch(53.50, 38.14, 151.22°)
OKLaboklab(58.75% -0.0911 0.0463)
OKLCHoklch(58.75% 0.102 153.1)
XYZxyz(14.3361, 21.5107, 14.2208)
Luminance0.2151 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478E5F #8E4776
analogous
#538E47 #478E5F #478E83
triadic
#478E5F #5F478E #8E5F47
tetradic
#478E5F #47538E #8E4776 #8E8347
square
#478E5F #47538E #8E4776 #8E8347
split-complementary
#478E5F #83478E #8E4753
monochromatic
#1E3C28 #336544 #478E5F #62B07C #8BC59E

Accessibility & contrast

On white

3.96
#478E5F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#478E5F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478E5F
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478E5F#FFFFFF#000000##000000
##478E5F1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E845C
Deuteranopia (green-blind)
#847D62
Tritanopia (blue-blind)
#378C82
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #478e5f;
/* rgb */ color: rgb(71, 142, 95);
/* oklch */ color: oklch(58.8% 0.102 153.1);
Tailwind
colors: {
  custom: {
    50: '#7faf8c',
    500: '#478e5f',
    950: '#000000',
  },
}
SCSS
$custom: #478e5f;
$custom-light: #7faf8c;
$custom-dark: #000000;
JSON
{
  "hex": "#478e5f",
  "rgb": {
    "r": 71,
    "g": 142,
    "b": 95
  },
  "hsl": {
    "h": 140.282,
    "s": 33.333,
    "l": 41.765
  },
  "oklch": {
    "l": 0.58752,
    "c": 0.10221,
    "h": 153.1
  },
  "luminance": 0.21512
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #478E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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