#478E20#478E20

#478E20 is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 57.9% C 0.158 H 137.0°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#478E20
RGBrgb(71, 142, 32)
HSLhsl(99, 63%, 34%)
HSVhsv(99, 77%, 56%)
CMYKcmyk(50%, 0%, 77.5%, 44.3%)
CIE-LABlab(52.72, -41.71, 48.23)
CIE-LCHlch(52.72, 63.76, 130.86°)
OKLaboklab(57.85% -0.1158 0.1079)
OKLCHoklch(57.85% 0.158 137)
XYZxyz(12.5319, 20.7890, 4.7185)
Luminance0.2079 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478E20 #67208E
analogous
#7E8E20 #478E20 #208E30
triadic
#478E20 #20478E #8E2047
tetradic
#478E20 #207E8E #67208E #8E3020
square
#478E20 #207E8E #67208E #8E3020
split-complementary
#478E20 #30208E #8E207E
monochromatic
#152A09 #2E5C15 #478E20 #60C02B #81D851

Accessibility & contrast

On white

4.07
#478E20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#478E20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478E20
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478E20#FFFFFF#000000##000000
##478E201.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#938106
Deuteranopia (green-blind)
#8A7C2C
Tritanopia (blue-blind)
#438979
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #478e20;
/* rgb */ color: rgb(71, 142, 32);
/* oklch */ color: oklch(57.9% 0.158 137.0);
Tailwind
colors: {
  custom: {
    50: '#81b064',
    500: '#478e20',
    950: '#000000',
  },
}
SCSS
$custom: #478e20;
$custom-light: #81b064;
$custom-dark: #000000;
JSON
{
  "hex": "#478e20",
  "rgb": {
    "r": 71,
    "g": 142,
    "b": 32
  },
  "hsl": {
    "h": 98.727,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57852,
    "c": 0.15825,
    "h": 137
  },
  "luminance": 0.2079
}

Semantic roles & 50–950 ramp

primary
#478E20
secondary
#954FBB
accent
#42E6AC
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #478E20

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

Preview Lab → · Contrast checker → · Palette generator →

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