#478A2E#478A2E

#478A2E is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.9% C 0.144 H 138.3°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#478A2E
RGBrgb(71, 138, 46)
HSLhsl(104, 50%, 36%)
HSVhsv(104, 67%, 54%)
CMYKcmyk(48.6%, 0%, 66.7%, 45.9%)
CIE-LABlab(51.51, -38.92, 41.37)
CIE-LCHlch(51.51, 56.80, 133.25°)
OKLaboklab(56.89% -0.1073 0.0954)
OKLCHoklch(56.89% 0.144 138.3)
XYZxyz(12.1797, 19.7130, 5.7474)
Luminance0.1971 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478A2E #712E8A
analogous
#758A2E #478A2E #2E8A43
triadic
#478A2E #2E478A #8A2E47
tetradic
#478A2E #2E758A #712E8A #8A432E
square
#478A2E #2E758A #712E8A #8A432E
split-complementary
#478A2E #432E8A #8A2E75
monochromatic
#182E0F #2F5C1F #478A2E #5FB83D #82CC66

Accessibility & contrast

On white

4.25
#478A2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#478A2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478A2E
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478A2E#FFFFFF#000000##000000
##478A2E1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E22
Deuteranopia (green-blind)
#857936
Tritanopia (blue-blind)
#428577
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #478a2e;
/* rgb */ color: rgb(71, 138, 46);
/* oklch */ color: oklch(56.9% 0.144 138.3);
Tailwind
colors: {
  custom: {
    50: '#80ad6b',
    500: '#478a2e',
    950: '#000000',
  },
}
SCSS
$custom: #478a2e;
$custom-light: #80ad6b;
$custom-dark: #000000;
JSON
{
  "hex": "#478a2e",
  "rgb": {
    "r": 71,
    "g": 138,
    "b": 46
  },
  "hsl": {
    "h": 103.696,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.56894,
    "c": 0.14357,
    "h": 138.3
  },
  "luminance": 0.19714
}

Semantic roles & 50–950 ramp

primary
#478A2E
secondary
#9D61B3
accent
#4EDAB4
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #478A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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