#478C16#478C16

#478C16 is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.3% C 0.161 H 136.1°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#478C16
RGBrgb(71, 140, 22)
HSLhsl(95, 73%, 32%)
HSVhsv(95, 84%, 55%)
CMYKcmyk(49.3%, 0%, 84.3%, 45.1%)
CIE-LABlab(52.01, -41.47, 50.72)
CIE-LCHlch(52.01, 65.51, 129.27°)
OKLaboklab(57.25% -0.1157 0.1116)
OKLCHoklch(57.25% 0.161 136.1)
XYZxyz(12.1211, 20.1529, 4.0101)
Luminance0.2015 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478C16 #5B168C
analogous
#828C16 #478C16 #168C20
triadic
#478C16 #16478C #8C1647
tetradic
#478C16 #16828C #5B168C #8C2016
square
#478C16 #16828C #5B168C #8C2016
split-complementary
#478C16 #20168C #8C1682
monochromatic
#112205 #2C570E #478C16 #62C11E #80E03C

Accessibility & contrast

On white

4.17
#478C16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#478C16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478C16
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478C16#FFFFFF#000000##000000
##478C161.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#887A25
Tritanopia (blue-blind)
#448777
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #478c16;
/* rgb */ color: rgb(71, 140, 22);
/* oklch */ color: oklch(57.3% 0.161 136.1);
Tailwind
colors: {
  custom: {
    50: '#82ae60',
    500: '#478c16',
    950: '#000000',
  },
}
SCSS
$custom: #478c16;
$custom-light: #82ae60;
$custom-dark: #000000;
JSON
{
  "hex": "#478c16",
  "rgb": {
    "r": 71,
    "g": 140,
    "b": 22
  },
  "hsl": {
    "h": 95.085,
    "s": 72.84,
    "l": 31.765
  },
  "oklch": {
    "l": 0.57253,
    "c": 0.16076,
    "h": 136.1
  },
  "luminance": 0.20154
}

Semantic roles & 50–950 ramp

primary
#478C16
secondary
#8A3EC0
accent
#38F0A3
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #478C16

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

Preview Lab → · Contrast checker → · Palette generator →

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