#478016#478016

#478016 is a mid, vivid yellow-green. Relative luminance 0.168; OKLCH L 54.0% C 0.146 H 134.5°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#478016
RGBrgb(71, 128, 22)
HSLhsl(92, 71%, 29%)
HSVhsv(92, 83%, 50%)
CMYKcmyk(44.5%, 0%, 82.8%, 49.8%)
CIE-LABlab(48.05, -36.46, 47.10)
CIE-LCHlch(48.05, 59.57, 127.74°)
OKLaboklab(54% -0.1023 0.104)
OKLCHoklch(54% 0.146 134.5)
XYZxyz(10.4623, 16.8353, 3.4572)
Luminance0.1684 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478016 #4F1680
analogous
#7C8016 #478016 #16801A
triadic
#478016 #164780 #801647
tetradic
#478016 #167C80 #4F1680 #801A16
square
#478016 #167C80 #4F1680 #801A16
split-complementary
#478016 #1A1680 #80167C
monochromatic
#0E1A04 #2A4C0D #478016 #64B41F #82DC34

Accessibility & contrast

On white

4.81
#478016 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#478016 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #478016
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478016#FFFFFF#000000##FFFFFF
##4780161.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7E7022
Tritanopia (blue-blind)
#467B6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #478016;
/* rgb */ color: rgb(71, 128, 22);
/* oklch */ color: oklch(54.0% 0.146 134.5);
Tailwind
colors: {
  custom: {
    50: '#80a55e',
    500: '#478016',
    950: '#000000',
  },
}
SCSS
$custom: #478016;
$custom-light: #80a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#478016",
  "rgb": {
    "r": 71,
    "g": 128,
    "b": 22
  },
  "hsl": {
    "h": 92.264,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.54002,
    "c": 0.14586,
    "h": 134.5
  },
  "luminance": 0.16836
}

Semantic roles & 50–950 ramp

primary
#478016
secondary
#7D3DB5
accent
#3AED9B
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #478016

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

Preview Lab → · Contrast checker → · Palette generator →

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