#478D2E#478D2E

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

Color values

HEX#478D2E
RGBrgb(71, 141, 46)
HSLhsl(104, 51%, 37%)
HSVhsv(104, 67%, 55%)
CMYKcmyk(49.6%, 0%, 67.4%, 44.7%)
CIE-LABlab(52.49, -40.17, 42.44)
CIE-LCHlch(52.49, 58.44, 133.43°)
OKLaboklab(57.7% -0.1107 0.0977)
OKLCHoklch(57.7% 0.148 138.6)
XYZxyz(12.6161, 20.5857, 5.8929)
Luminance0.2059 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478D2E #742E8D
analogous
#778D2E #478D2E #2E8D45
triadic
#478D2E #2E478D #8D2E47
tetradic
#478D2E #2E778D #742E8D #8D452E
square
#478D2E #2E778D #742E8D #8D452E
split-complementary
#478D2E #452E8D #8D2E77
monochromatic
#193110 #305F1F #478D2E #5EBB3D #83CE68

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##478D2E#FFFFFF#000000##000000
##478D2E1.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)
#918122
Deuteranopia (green-blind)
#887B36
Tritanopia (blue-blind)
#428879
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #478d2e;
/* rgb */ color: rgb(71, 141, 46);
/* oklch */ color: oklch(57.7% 0.148 138.6);
Tailwind
colors: {
  custom: {
    50: '#81af6b',
    500: '#478d2e',
    950: '#000000',
  },
}
SCSS
$custom: #478d2e;
$custom-light: #81af6b;
$custom-dark: #000000;
JSON
{
  "hex": "#478d2e",
  "rgb": {
    "r": 71,
    "g": 141,
    "b": 46
  },
  "hsl": {
    "h": 104.211,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.577,
    "c": 0.14761,
    "h": 138.6
  },
  "luminance": 0.20587
}

Semantic roles & 50–950 ramp

primary
#478D2E
secondary
#9F62B5
accent
#4EDAB5
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #478D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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