#478D16#478D16

#478D16 is a mid, vivid yellow-green. Relative luminance 0.204; OKLCH L 57.5% C 0.162 H 136.2°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#478D16
RGBrgb(71, 141, 22)
HSLhsl(95, 73%, 32%)
HSVhsv(95, 84%, 55%)
CMYKcmyk(49.6%, 0%, 84.4%, 44.7%)
CIE-LABlab(52.34, -41.88, 51.01)
CIE-LCHlch(52.34, 66.00, 129.38°)
OKLaboklab(57.52% -0.1168 0.1122)
OKLCHoklch(57.52% 0.162 136.2)
XYZxyz(12.2679, 20.4464, 4.0590)
Luminance0.2045 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478D16 #5C168D
analogous
#838D16 #478D16 #168D21
triadic
#478D16 #16478D #8D1647
tetradic
#478D16 #16838D #5C168D #8D2116
square
#478D16 #16838D #5C168D #8D2116
split-complementary
#478D16 #21168D #8D1683
monochromatic
#122305 #2C580E #478D16 #62C21E #80E13D

Accessibility & contrast

On white

4.13
#478D16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#478D16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478D16
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478D16#FFFFFF#000000##000000
##478D161.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#897B25
Tritanopia (blue-blind)
#448778
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #478d16;
/* rgb */ color: rgb(71, 141, 22);
/* oklch */ color: oklch(57.5% 0.162 136.2);
Tailwind
colors: {
  custom: {
    50: '#82af60',
    500: '#478d16',
    950: '#000000',
  },
}
SCSS
$custom: #478d16;
$custom-light: #82af60;
$custom-dark: #000000;
JSON
{
  "hex": "#478d16",
  "rgb": {
    "r": 71,
    "g": 141,
    "b": 22
  },
  "hsl": {
    "h": 95.294,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57524,
    "c": 0.16197,
    "h": 136.2
  },
  "luminance": 0.20447
}

Semantic roles & 50–950 ramp

primary
#478D16
secondary
#8B3EC1
accent
#38F0A4
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #478D16

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

Preview Lab → · Contrast checker → · Palette generator →

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