#478320#478320

#478320 is a mid, vivid yellow-green. Relative luminance 0.177; OKLCH L 54.9% C 0.144 H 135.8°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#478320
RGBrgb(71, 131, 32)
HSLhsl(96, 61%, 32%)
HSVhsv(96, 76%, 51%)
CMYKcmyk(45.8%, 0%, 75.6%, 48.6%)
CIE-LABlab(49.10, -37.13, 44.67)
CIE-LCHlch(49.10, 58.08, 129.73°)
OKLaboklab(54.88% -0.1034 0.1004)
OKLCHoklch(54.88% 0.144 135.8)
XYZxyz(10.9753, 17.6758, 4.1997)
Luminance0.1768 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478320 #5C2083
analogous
#798320 #478320 #20832B
triadic
#478320 #204783 #832047
tetradic
#478320 #207983 #5C2083 #832B20
square
#478320 #207983 #5C2083 #832B20
split-complementary
#478320 #2B2083 #832079
monochromatic
#122108 #2C5214 #478320 #62B42C #80D34A

Accessibility & contrast

On white

4.63
#478320 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#478320 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #478320
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478320#FFFFFF#000000##FFFFFF
##4783201.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#88780D
Deuteranopia (green-blind)
#80732A
Tritanopia (blue-blind)
#457E70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #478320;
/* rgb */ color: rgb(71, 131, 32);
/* oklch */ color: oklch(54.9% 0.144 135.8);
Tailwind
colors: {
  custom: {
    50: '#80a763',
    500: '#478320',
    950: '#000000',
  },
}
SCSS
$custom: #478320;
$custom-light: #80a763;
$custom-dark: #000000;
JSON
{
  "hex": "#478320",
  "rgb": {
    "r": 71,
    "g": 131,
    "b": 32
  },
  "hsl": {
    "h": 96.364,
    "s": 60.736,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54881,
    "c": 0.14415,
    "h": 135.8
  },
  "luminance": 0.17676
}

Semantic roles & 50–950 ramp

primary
#478320
secondary
#8B49B6
accent
#44E4A5
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #478320

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

Preview Lab → · Contrast checker → · Palette generator →

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