#478420#478420

#478420 is a mid, vivid yellow-green. Relative luminance 0.179; OKLCH L 55.2% C 0.145 H 136.0°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#478420
RGBrgb(71, 132, 32)
HSLhsl(97, 61%, 32%)
HSVhsv(97, 76%, 52%)
CMYKcmyk(46.2%, 0%, 75.8%, 48.2%)
CIE-LABlab(49.43, -37.55, 45.00)
CIE-LCHlch(49.43, 58.61, 129.85°)
OKLaboklab(55.15% -0.1046 0.1011)
OKLCHoklch(55.15% 0.145 136)
XYZxyz(11.1102, 17.9457, 4.2447)
Luminance0.1795 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478420 #5D2084
analogous
#798420 #478420 #20842B
triadic
#478420 #204784 #842047
tetradic
#478420 #207984 #5D2084 #842B20
square
#478420 #207984 #5D2084 #842B20
split-complementary
#478420 #2B2084 #842079
monochromatic
#122108 #2D5314 #478420 #61B52C #80D34B

Accessibility & contrast

On white

4.58
#478420 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#478420 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478420
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478420#FFFFFF#000000##000000
##4784201.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#89790C
Deuteranopia (green-blind)
#81742A
Tritanopia (blue-blind)
#457F71
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #478420;
/* rgb */ color: rgb(71, 132, 32);
/* oklch */ color: oklch(55.2% 0.145 136.0);
Tailwind
colors: {
  custom: {
    50: '#80a863',
    500: '#478420',
    950: '#000000',
  },
}
SCSS
$custom: #478420;
$custom-light: #80a863;
$custom-dark: #000000;
JSON
{
  "hex": "#478420",
  "rgb": {
    "r": 71,
    "g": 132,
    "b": 32
  },
  "hsl": {
    "h": 96.6,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55151,
    "c": 0.14547,
    "h": 136
  },
  "luminance": 0.17946
}

Semantic roles & 50–950 ramp

primary
#478420
secondary
#8C4AB6
accent
#44E4A6
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #478420

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

Preview Lab → · Contrast checker → · Palette generator →

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