#478020#478020

#478020 is a mid, vivid yellow-green. Relative luminance 0.169; OKLCH L 54.1% C 0.140 H 135.5°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#478020
RGBrgb(71, 128, 32)
HSLhsl(96, 60%, 31%)
HSVhsv(96, 75%, 50%)
CMYKcmyk(44.5%, 0%, 75%, 49.8%)
CIE-LABlab(48.11, -35.83, 43.68)
CIE-LCHlch(48.11, 56.50, 129.36°)
OKLaboklab(54.07% -0.0999 0.0984)
OKLCHoklch(54.07% 0.14 135.5)
XYZxyz(10.5782, 16.8816, 4.0673)
Luminance0.1688 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478020 #592080
analogous
#778020 #478020 #208029
triadic
#478020 #204780 #802047
tetradic
#478020 #207780 #592080 #802920
square
#478020 #207780 #592080 #802920
split-complementary
#478020 #292080 #802077
monochromatic
#111E08 #2C4F14 #478020 #62B12C #80D149

Accessibility & contrast

On white

4.80
#478020 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#478020 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #478020
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478020#FFFFFF#000000##FFFFFF
##4780201.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85750E
Deuteranopia (green-blind)
#7D7029
Tritanopia (blue-blind)
#457B6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #478020;
/* rgb */ color: rgb(71, 128, 32);
/* oklch */ color: oklch(54.1% 0.140 135.5);
Tailwind
colors: {
  custom: {
    50: '#80a562',
    500: '#478020',
    950: '#000000',
  },
}
SCSS
$custom: #478020;
$custom-light: #80a562;
$custom-dark: #000000;
JSON
{
  "hex": "#478020",
  "rgb": {
    "r": 71,
    "g": 128,
    "b": 32
  },
  "hsl": {
    "h": 95.625,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54069,
    "c": 0.14021,
    "h": 135.5
  },
  "luminance": 0.16882
}

Semantic roles & 50–950 ramp

primary
#478020
secondary
#8849B3
accent
#45E3A3
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #478020

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

Preview Lab → · Contrast checker → · Palette generator →

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