#478A16#478A16

#478A16 is a mid, vivid yellow-green. Relative luminance 0.196; OKLCH L 56.7% C 0.158 H 135.8°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#478A16
RGBrgb(71, 138, 22)
HSLhsl(95, 73%, 31%)
HSVhsv(95, 84%, 54%)
CMYKcmyk(48.6%, 0%, 84.1%, 45.9%)
CIE-LABlab(51.35, -40.66, 50.12)
CIE-LCHlch(51.35, 64.54, 129.05°)
OKLaboklab(56.71% -0.1136 0.1103)
OKLCHoklch(56.71% 0.158 135.8)
XYZxyz(11.8315, 19.5737, 3.9136)
Luminance0.1957 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478A16 #59168A
analogous
#818A16 #478A16 #168A1F
triadic
#478A16 #16478A #8A1647
tetradic
#478A16 #16818A #59168A #8A1F16
square
#478A16 #16818A #59168A #8A1F16
split-complementary
#478A16 #1F168A #8A1681
monochromatic
#112005 #2C550E #478A16 #62BF1E #80E03B

Accessibility & contrast

On white

4.27
#478A16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#478A16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478A16
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478A16#FFFFFF#000000##000000
##478A161.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#867824
Tritanopia (blue-blind)
#448575
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #478a16;
/* rgb */ color: rgb(71, 138, 22);
/* oklch */ color: oklch(56.7% 0.158 135.8);
Tailwind
colors: {
  custom: {
    50: '#81ad5f',
    500: '#478a16',
    950: '#000000',
  },
}
SCSS
$custom: #478a16;
$custom-light: #81ad5f;
$custom-dark: #000000;
JSON
{
  "hex": "#478a16",
  "rgb": {
    "r": 71,
    "g": 138,
    "b": 22
  },
  "hsl": {
    "h": 94.655,
    "s": 72.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.56712,
    "c": 0.15831,
    "h": 135.8
  },
  "luminance": 0.19574
}

Semantic roles & 50–950 ramp

primary
#478A16
secondary
#883EBE
accent
#39EFA2
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #478A16

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

Preview Lab → · Contrast checker → · Palette generator →

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