#478D2A#478D2A

#478D2A is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.7% C 0.151 H 138.0°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#478D2A
RGBrgb(71, 141, 42)
HSLhsl(102, 54%, 36%)
HSVhsv(102, 70%, 55%)
CMYKcmyk(49.6%, 0%, 70.2%, 44.7%)
CIE-LABlab(52.46, -40.54, 44.12)
CIE-LCHlch(52.46, 59.91, 132.58°)
OKLaboklab(57.66% -0.1119 0.1007)
OKLCHoklch(57.66% 0.151 138)
XYZxyz(12.5409, 20.5556, 5.4968)
Luminance0.2056 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478D2A #702A8D
analogous
#788D2A #478D2A #2A8D3E
triadic
#478D2A #2A478D #8D2A47
tetradic
#478D2A #2A788D #702A8D #8D3E2A
square
#478D2A #2A788D #702A8D #8D3E2A
split-complementary
#478D2A #3E2A8D #8D2A78
monochromatic
#182F0E #2F5E1C #478D2A #5FBC38 #82D061

Accessibility & contrast

On white

4.11
#478D2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#478D2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478D2A
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478D2A#FFFFFF#000000##000000
##478D2A1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#91811C
Deuteranopia (green-blind)
#887B33
Tritanopia (blue-blind)
#428879
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #478d2a;
/* rgb */ color: rgb(71, 141, 42);
/* oklch */ color: oklch(57.7% 0.151 138.0);
Tailwind
colors: {
  custom: {
    50: '#81af69',
    500: '#478d2a',
    950: '#000000',
  },
}
SCSS
$custom: #478d2a;
$custom-light: #81af69;
$custom-dark: #000000;
JSON
{
  "hex": "#478d2a",
  "rgb": {
    "r": 71,
    "g": 141,
    "b": 42
  },
  "hsl": {
    "h": 102.424,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57662,
    "c": 0.15057,
    "h": 138
  },
  "luminance": 0.20557
}

Semantic roles & 50–950 ramp

primary
#478D2A
secondary
#9C5DB6
accent
#4ADDB2
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #478D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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