#478D40#478D40

#478D40 is a mid, vivid green. Relative luminance 0.208; OKLCH L 57.9% C 0.132 H 141.9°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#478D40
RGBrgb(71, 141, 64)
HSLhsl(115, 38%, 40%)
HSVhsv(115, 55%, 55%)
CMYKcmyk(49.6%, 0%, 54.6%, 44.7%)
CIE-LABlab(52.68, -38.12, 34.07)
CIE-LCHlch(52.68, 51.13, 138.21°)
OKLaboklab(57.92% -0.104 0.0814)
OKLCHoklch(57.92% 0.132 141.9)
XYZxyz(13.0482, 20.7586, 8.1687)
Luminance0.2076 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478D40 #86408D
analogous
#6E8D40 #478D40 #408D5F
triadic
#478D40 #40478D #8D4047
tetradic
#478D40 #406E8D #86408D #8D5F40
square
#478D40 #406E8D #86408D #8D5F40
split-complementary
#478D40 #5F408D #8D406E
monochromatic
#1D391A #32632D #478D40 #60B357 #88C681

Accessibility & contrast

On white

4.08
#478D40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#478D40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478D40
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478D40#FFFFFF#000000##000000
##478D401.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#908239
Deuteranopia (green-blind)
#877B45
Tritanopia (blue-blind)
#3F897C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #478d40;
/* rgb */ color: rgb(71, 141, 64);
/* oklch */ color: oklch(57.9% 0.132 141.9);
Tailwind
colors: {
  custom: {
    50: '#80af77',
    500: '#478d40',
    950: '#000000',
  },
}
SCSS
$custom: #478d40;
$custom-light: #80af77;
$custom-dark: #000000;
JSON
{
  "hex": "#478d40",
  "rgb": {
    "r": 71,
    "g": 141,
    "b": 64
  },
  "hsl": {
    "h": 114.545,
    "s": 37.561,
    "l": 40.196
  },
  "oklch": {
    "l": 0.57919,
    "c": 0.13208,
    "h": 141.9
  },
  "luminance": 0.2076
}

Semantic roles & 50–950 ramp

primary
#478D40
secondary
#AB78B0
accent
#5ACEC3
background
#F8FAF7
surface
#EFF4ED
border
#CACEC8
text
#0B1009
muted
#7C7F7B

Preview Lab

Preview with #478D40

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

Preview Lab → · Contrast checker → · Palette generator →

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