#478728#478728

#478728 is a mid, vivid green. Relative luminance 0.188; OKLCH L 56.0% C 0.144 H 137.2°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#478728
RGBrgb(71, 135, 40)
HSLhsl(100, 54%, 34%)
HSVhsv(100, 70%, 53%)
CMYKcmyk(47.4%, 0%, 70.4%, 47.1%)
CIE-LABlab(50.48, -38.20, 42.87)
CIE-LCHlch(50.48, 57.42, 131.70°)
OKLaboklab(56.03% -0.1057 0.0978)
OKLCHoklch(56.03% 0.144 137.2)
XYZxyz(11.6452, 18.8200, 5.0261)
Luminance0.1882 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478728 #682887
analogous
#778728 #478728 #288739
triadic
#478728 #284787 #872847
tetradic
#478728 #287787 #682887 #873928
square
#478728 #287787 #682887 #873928
split-complementary
#478728 #392887 #872877
monochromatic
#15290C #2E581A #478728 #60B636 #81CE5B

Accessibility & contrast

On white

4.41
#478728 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#478728 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478728
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478728#FFFFFF#000000##000000
##4787281.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C1A
Deuteranopia (green-blind)
#837631
Tritanopia (blue-blind)
#438274
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #478728;
/* rgb */ color: rgb(71, 135, 40);
/* oklch */ color: oklch(56.0% 0.144 137.2);
Tailwind
colors: {
  custom: {
    50: '#80aa67',
    500: '#478728',
    950: '#000000',
  },
}
SCSS
$custom: #478728;
$custom-light: #80aa67;
$custom-dark: #000000;
JSON
{
  "hex": "#478728",
  "rgb": {
    "r": 71,
    "g": 135,
    "b": 40
  },
  "hsl": {
    "h": 100.421,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56028,
    "c": 0.14404,
    "h": 137.2
  },
  "luminance": 0.18821
}

Semantic roles & 50–950 ramp

primary
#478728
secondary
#9557B4
accent
#4ADEAE
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #478728

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

Preview Lab → · Contrast checker → · Palette generator →

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