#478D2D#478D2D

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

Color values

HEX#478D2D
RGBrgb(71, 141, 45)
HSLhsl(104, 52%, 36%)
HSVhsv(104, 68%, 55%)
CMYKcmyk(49.6%, 0%, 68.1%, 44.7%)
CIE-LABlab(52.48, -40.27, 42.87)
CIE-LCHlch(52.48, 58.81, 133.21°)
OKLaboklab(57.69% -0.111 0.0985)
OKLCHoklch(57.69% 0.148 138.4)
XYZxyz(12.5966, 20.5779, 5.7903)
Luminance0.2058 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478D2D #732D8D
analogous
#778D2D #478D2D #2D8D43
triadic
#478D2D #2D478D #8D2D47
tetradic
#478D2D #2D778D #732D8D #8D432D
square
#478D2D #2D778D #732D8D #8D432D
split-complementary
#478D2D #432D8D #8D2D77
monochromatic
#18300F #305F1E #478D2D #5EBB3C #82CE66

Accessibility & contrast

On white

4.10
#478D2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#478D2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478D2D
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478D2D#FFFFFF#000000##000000
##478D2D1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#918120
Deuteranopia (green-blind)
#887B35
Tritanopia (blue-blind)
#428879
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #478d2d;
/* rgb */ color: rgb(71, 141, 45);
/* oklch */ color: oklch(57.7% 0.148 138.4);
Tailwind
colors: {
  custom: {
    50: '#81af6b',
    500: '#478d2d',
    950: '#000000',
  },
}
SCSS
$custom: #478d2d;
$custom-light: #81af6b;
$custom-dark: #000000;
JSON
{
  "hex": "#478d2d",
  "rgb": {
    "r": 71,
    "g": 141,
    "b": 45
  },
  "hsl": {
    "h": 103.75,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.57691,
    "c": 0.14838,
    "h": 138.4
  },
  "luminance": 0.20579
}

Semantic roles & 50–950 ramp

primary
#478D2D
secondary
#9E61B5
accent
#4DDBB5
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #478D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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