#478A2F#478A2F

#478A2F is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.9% C 0.143 H 138.5°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#478A2F
RGBrgb(71, 138, 47)
HSLhsl(104, 49%, 36%)
HSVhsv(104, 66%, 54%)
CMYKcmyk(48.6%, 0%, 65.9%, 45.9%)
CIE-LABlab(51.52, -38.82, 40.94)
CIE-LCHlch(51.52, 56.42, 133.48°)
OKLaboklab(56.9% -0.1069 0.0946)
OKLCHoklch(56.9% 0.143 138.5)
XYZxyz(12.1997, 19.7210, 5.8525)
Luminance0.1972 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478A2F #722F8A
analogous
#758A2F #478A2F #2F8A45
triadic
#478A2F #2F478A #8A2F47
tetradic
#478A2F #2F758A #722F8A #8A452F
square
#478A2F #2F758A #722F8A #8A452F
split-complementary
#478A2F #452F8A #8A2F75
monochromatic
#182F10 #305C1F #478A2F #5EB83F #82CC68

Accessibility & contrast

On white

4.25
#478A2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#478A2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478A2F
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478A2F#FFFFFF#000000##000000
##478A2F1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E24
Deuteranopia (green-blind)
#857937
Tritanopia (blue-blind)
#428577
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #478a2f;
/* rgb */ color: rgb(71, 138, 47);
/* oklch */ color: oklch(56.9% 0.143 138.5);
Tailwind
colors: {
  custom: {
    50: '#80ad6c',
    500: '#478a2f',
    950: '#000000',
  },
}
SCSS
$custom: #478a2f;
$custom-light: #80ad6c;
$custom-dark: #000000;
JSON
{
  "hex": "#478a2f",
  "rgb": {
    "r": 71,
    "g": 138,
    "b": 47
  },
  "hsl": {
    "h": 104.176,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.56905,
    "c": 0.14278,
    "h": 138.5
  },
  "luminance": 0.19722
}

Semantic roles & 50–950 ramp

primary
#478A2F
secondary
#9D62B3
accent
#4FD9B4
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #478A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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