#478D2B#478D2B

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

Color values

HEX#478D2B
RGBrgb(71, 141, 43)
HSLhsl(103, 53%, 36%)
HSVhsv(103, 70%, 55%)
CMYKcmyk(49.6%, 0%, 69.5%, 44.7%)
CIE-LABlab(52.47, -40.45, 43.70)
CIE-LCHlch(52.47, 59.55, 132.79°)
OKLaboklab(57.67% -0.1116 0.1)
OKLCHoklch(57.67% 0.15 138.2)
XYZxyz(12.5590, 20.5629, 5.5923)
Luminance0.2056 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478D2B #712B8D
analogous
#788D2B #478D2B #2B8D40
triadic
#478D2B #2B478D #8D2B47
tetradic
#478D2B #2B788D #712B8D #8D402B
square
#478D2B #2B788D #712B8D #8D402B
split-complementary
#478D2B #402B8D #8D2B78
monochromatic
#182F0E #2F5E1D #478D2B #5FBC39 #82CF63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##478D2B#FFFFFF#000000##000000
##478D2B1.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)
#91811D
Deuteranopia (green-blind)
#887B34
Tritanopia (blue-blind)
#428879
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #478d2b;
/* rgb */ color: rgb(71, 141, 43);
/* oklch */ color: oklch(57.7% 0.150 138.2);
Tailwind
colors: {
  custom: {
    50: '#81af6a',
    500: '#478d2b',
    950: '#000000',
  },
}
SCSS
$custom: #478d2b;
$custom-light: #81af6a;
$custom-dark: #000000;
JSON
{
  "hex": "#478d2b",
  "rgb": {
    "r": 71,
    "g": 141,
    "b": 43
  },
  "hsl": {
    "h": 102.857,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.57671,
    "c": 0.14985,
    "h": 138.2
  },
  "luminance": 0.20564
}

Semantic roles & 50–950 ramp

primary
#478D2B
secondary
#9D5EB6
accent
#4BDDB3
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #478D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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