#478520#478520

#478520 is a mid, vivid yellow-green. Relative luminance 0.182; OKLCH L 55.4% C 0.147 H 136.1°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#478520
RGBrgb(71, 133, 32)
HSLhsl(97, 61%, 32%)
HSVhsv(97, 76%, 52%)
CMYKcmyk(46.6%, 0%, 75.9%, 47.8%)
CIE-LABlab(49.76, -37.98, 45.32)
CIE-LCHlch(49.76, 59.13, 129.96°)
OKLaboklab(55.42% -0.1057 0.1018)
OKLCHoklch(55.42% 0.147 136.1)
XYZxyz(11.2465, 18.2182, 4.2901)
Luminance0.1822 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478520 #5E2085
analogous
#798520 #478520 #20852C
triadic
#478520 #204785 #852047
tetradic
#478520 #207985 #5E2085 #852C20
square
#478520 #207985 #5E2085 #852C20
split-complementary
#478520 #2C2085 #852079
monochromatic
#122208 #2D5414 #478520 #61B62C #80D44C

Accessibility & contrast

On white

4.52
#478520 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#478520 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478520
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478520#FFFFFF#000000##000000
##4785201.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A0C
Deuteranopia (green-blind)
#82742A
Tritanopia (blue-blind)
#448072
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #478520;
/* rgb */ color: rgb(71, 133, 32);
/* oklch */ color: oklch(55.4% 0.147 136.1);
Tailwind
colors: {
  custom: {
    50: '#80a963',
    500: '#478520',
    950: '#000000',
  },
}
SCSS
$custom: #478520;
$custom-light: #80a963;
$custom-dark: #000000;
JSON
{
  "hex": "#478520",
  "rgb": {
    "r": 71,
    "g": 133,
    "b": 32
  },
  "hsl": {
    "h": 96.832,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55422,
    "c": 0.14676,
    "h": 136.1
  },
  "luminance": 0.18219
}

Semantic roles & 50–950 ramp

primary
#478520
secondary
#8D4AB7
accent
#43E4A6
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #478520

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

Preview Lab → · Contrast checker → · Palette generator →

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