#478E31#478E31

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

Color values

HEX#478E31
RGBrgb(71, 142, 49)
HSLhsl(106, 49%, 37%)
HSVhsv(106, 65%, 56%)
CMYKcmyk(50%, 0%, 65.5%, 44.3%)
CIE-LABlab(52.85, -40.30, 41.49)
CIE-LCHlch(52.85, 57.84, 134.16°)
OKLaboklab(58% -0.1108 0.096)
OKLCHoklch(58% 0.147 139.1)
XYZxyz(12.8254, 20.9064, 6.2647)
Luminance0.2091 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478E31 #78318E
analogous
#768E31 #478E31 #318E49
triadic
#478E31 #31478E #8E3147
tetradic
#478E31 #31768E #78318E #8E4931
square
#478E31 #31768E #78318E #8E4931
split-complementary
#478E31 #49318E #8E3176
monochromatic
#1A3312 #306121 #478E31 #5EBB41 #83CD6D

Accessibility & contrast

On white

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

On black

5.18
#478E31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478E31
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478E31#FFFFFF#000000##000000
##478E311.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928226
Deuteranopia (green-blind)
#897C39
Tritanopia (blue-blind)
#41897B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #478e31;
/* rgb */ color: rgb(71, 142, 49);
/* oklch */ color: oklch(58.0% 0.147 139.1);
Tailwind
colors: {
  custom: {
    50: '#81b06d',
    500: '#478e31',
    950: '#000000',
  },
}
SCSS
$custom: #478e31;
$custom-light: #81b06d;
$custom-dark: #000000;
JSON
{
  "hex": "#478e31",
  "rgb": {
    "r": 71,
    "g": 142,
    "b": 49
  },
  "hsl": {
    "h": 105.806,
    "s": 48.691,
    "l": 37.451
  },
  "oklch": {
    "l": 0.58,
    "c": 0.14663,
    "h": 139.1
  },
  "luminance": 0.20907
}

Semantic roles & 50–950 ramp

primary
#478E31
secondary
#A267B4
accent
#50D8B8
background
#F8FAF6
surface
#EFF5EC
border
#CACFC7
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #478E31

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

Preview Lab → · Contrast checker → · Palette generator →

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