#478E2D#478E2D

#478E2D is a mid, vivid green. Relative luminance 0.209; OKLCH L 58.0% C 0.150 H 138.5°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#478E2D
RGBrgb(71, 142, 45)
HSLhsl(104, 52%, 37%)
HSVhsv(104, 68%, 56%)
CMYKcmyk(50%, 0%, 68.3%, 44.3%)
CIE-LABlab(52.81, -40.68, 43.22)
CIE-LCHlch(52.81, 59.35, 133.27°)
OKLaboklab(57.96% -0.1121 0.0992)
OKLCHoklch(57.96% 0.15 138.5)
XYZxyz(12.7447, 20.8742, 5.8397)
Luminance0.2087 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478E2D #742D8E
analogous
#788E2D #478E2D #2D8E44
triadic
#478E2D #2D478E #8E2D47
tetradic
#478E2D #2D788E #742D8E #8E442D
square
#478E2D #2D788E #742D8E #8E442D
split-complementary
#478E2D #442D8E #8E2D78
monochromatic
#193110 #30601E #478E2D #5EBC3C #83CF67

Accessibility & contrast

On white

4.06
#478E2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#478E2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478E2D
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478E2D#FFFFFF#000000##000000
##478E2D1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#928220
Deuteranopia (green-blind)
#897C36
Tritanopia (blue-blind)
#41897A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #478e2d;
/* rgb */ color: rgb(71, 142, 45);
/* oklch */ color: oklch(58.0% 0.150 138.5);
Tailwind
colors: {
  custom: {
    50: '#81b06b',
    500: '#478e2d',
    950: '#000000',
  },
}
SCSS
$custom: #478e2d;
$custom-light: #81b06b;
$custom-dark: #000000;
JSON
{
  "hex": "#478e2d",
  "rgb": {
    "r": 71,
    "g": 142,
    "b": 45
  },
  "hsl": {
    "h": 103.918,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.57959,
    "c": 0.1497,
    "h": 138.5
  },
  "luminance": 0.20875
}

Semantic roles & 50–950 ramp

primary
#478E2D
secondary
#9F61B5
accent
#4CDBB5
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #478E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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