#478720#478720

#478720 is a mid, vivid yellow-green. Relative luminance 0.188; OKLCH L 56.0% C 0.149 H 136.3°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#478720
RGBrgb(71, 135, 32)
HSLhsl(97, 62%, 33%)
HSVhsv(97, 76%, 53%)
CMYKcmyk(47.4%, 0%, 76.3%, 47.1%)
CIE-LABlab(50.42, -38.82, 45.97)
CIE-LCHlch(50.42, 60.17, 130.18°)
OKLaboklab(55.96% -0.108 0.1032)
OKLCHoklch(55.96% 0.149 136.3)
XYZxyz(11.5229, 18.7711, 4.3822)
Luminance0.1877 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478720 #602087
analogous
#7A8720 #478720 #20872D
triadic
#478720 #204787 #872047
tetradic
#478720 #207A87 #602087 #872D20
square
#478720 #207A87 #602087 #872D20
split-complementary
#478720 #2D2087 #87207A
monochromatic
#132409 #2D5614 #478720 #61B82C #80D54D

Accessibility & contrast

On white

4.42
#478720 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#478720 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478720
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478720#FFFFFF#000000##000000
##4787201.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B0B
Deuteranopia (green-blind)
#83762B
Tritanopia (blue-blind)
#448273
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #478720;
/* rgb */ color: rgb(71, 135, 32);
/* oklch */ color: oklch(56.0% 0.149 136.3);
Tailwind
colors: {
  custom: {
    50: '#80aa63',
    500: '#478720',
    950: '#000000',
  },
}
SCSS
$custom: #478720;
$custom-light: #80aa63;
$custom-dark: #000000;
JSON
{
  "hex": "#478720",
  "rgb": {
    "r": 71,
    "g": 135,
    "b": 32
  },
  "hsl": {
    "h": 97.282,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55962,
    "c": 0.14935,
    "h": 136.3
  },
  "luminance": 0.18772
}

Semantic roles & 50–950 ramp

primary
#478720
secondary
#8F4BB8
accent
#43E5A8
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #478720

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

Preview Lab → · Contrast checker → · Palette generator →

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