#478A17#478A17

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

Color values

HEX#478A17
RGBrgb(71, 138, 23)
HSLhsl(95, 71%, 32%)
HSVhsv(95, 83%, 54%)
CMYKcmyk(48.6%, 0%, 83.3%, 45.9%)
CIE-LABlab(51.36, -40.61, 49.84)
CIE-LCHlch(51.36, 64.29, 129.17°)
OKLaboklab(56.72% -0.1134 0.1099)
OKLCHoklch(56.72% 0.158 135.9)
XYZxyz(11.8414, 19.5776, 3.9653)
Luminance0.1958 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478A17 #5A178A
analogous
#818A17 #478A17 #178A21
triadic
#478A17 #17478A #8A1747
tetradic
#478A17 #17818A #5A178A #8A2117
square
#478A17 #17818A #5A178A #8A2117
split-complementary
#478A17 #21178A #8A1781
monochromatic
#112106 #2C560E #478A17 #62BE20 #80DF3D

Accessibility & contrast

On white

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

On black

4.92
#478A17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478A17
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478A17#FFFFFF#000000##000000
##478A171.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #478a17;
/* rgb */ color: rgb(71, 138, 23);
/* oklch */ color: oklch(56.7% 0.158 135.9);
Tailwind
colors: {
  custom: {
    50: '#81ad60',
    500: '#478a17',
    950: '#000000',
  },
}
SCSS
$custom: #478a17;
$custom-light: #81ad60;
$custom-dark: #000000;
JSON
{
  "hex": "#478a17",
  "rgb": {
    "r": 71,
    "g": 138,
    "b": 23
  },
  "hsl": {
    "h": 94.957,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56717,
    "c": 0.15787,
    "h": 135.9
  },
  "luminance": 0.19578
}

Semantic roles & 50–950 ramp

primary
#478A17
secondary
#893FBE
accent
#3AEEA3
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #478A17

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

Preview Lab → · Contrast checker → · Palette generator →

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