#478147#478147

#478147 is a mid, moderate green. Relative luminance 0.175; OKLCH L 54.8% C 0.107 H 143.9°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#478147
RGBrgb(71, 129, 71)
HSLhsl(120, 29%, 39%)
HSVhsv(120, 45%, 51%)
CMYKcmyk(45%, 0%, 45%, 49.4%)
CIE-LABlab(48.88, -31.73, 25.63)
CIE-LCHlch(48.88, 40.79, 141.07°)
OKLaboklab(54.84% -0.0864 0.0629)
OKLCHoklch(54.84% 0.107 143.9)
XYZxyz(11.5856, 17.4943, 8.7263)
Luminance0.1749 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478147 #814781
analogous
#648147 #478147 #478164
triadic
#478147 #474781 #814747
tetradic
#478147 #476481 #814781 #816447
square
#478147 #476481 #814781 #816447
split-complementary
#478147 #644781 #814764
monochromatic
#1C321C #315A31 #478147 #5FA75F #86BC86

Accessibility & contrast

On white

4.67
#478147 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#478147 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #478147
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478147#FFFFFF#000000##FFFFFF
##4781471.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837743
Deuteranopia (green-blind)
#7B724B
Tritanopia (blue-blind)
#407E73
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #478147;
/* rgb */ color: rgb(71, 129, 71);
/* oklch */ color: oklch(54.8% 0.107 143.9);
Tailwind
colors: {
  custom: {
    50: '#7ea67b',
    500: '#478147',
    950: '#000000',
  },
}
SCSS
$custom: #478147;
$custom-light: #7ea67b;
$custom-dark: #000000;
JSON
{
  "hex": "#478147",
  "rgb": {
    "r": 71,
    "g": 129,
    "b": 71
  },
  "hsl": {
    "h": 120,
    "s": 29,
    "l": 39.216
  },
  "oklch": {
    "l": 0.54837,
    "c": 0.10684,
    "h": 143.9
  },
  "luminance": 0.17495
}

Semantic roles & 50–950 ramp

primary
#478147
secondary
#A87CA8
accent
#63C5C5
background
#F7FAF7
surface
#EEF4EE
border
#C9CEC9
text
#0A0F09
muted
#7C7F7B

Preview Lab

Preview with #478147

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

Preview Lab → · Contrast checker → · Palette generator →

#478147 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva