#478517#478517

#478517 is a mid, vivid yellow-green. Relative luminance 0.182; OKLCH L 55.4% C 0.152 H 135.3°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#478517
RGBrgb(71, 133, 23)
HSLhsl(94, 71%, 31%)
HSVhsv(94, 83%, 52%)
CMYKcmyk(46.6%, 0%, 82.7%, 47.8%)
CIE-LABlab(49.71, -38.53, 48.33)
CIE-LCHlch(49.71, 61.81, 128.57°)
OKLaboklab(55.36% -0.1078 0.1067)
OKLCHoklch(55.36% 0.152 135.3)
XYZxyz(11.1405, 18.1758, 3.7317)
Luminance0.1818 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478517 #551785
analogous
#7E8517 #478517 #17851E
triadic
#478517 #174785 #851747
tetradic
#478517 #177E85 #551785 #851E17
square
#478517 #177E85 #551785 #851E17
split-complementary
#478517 #1E1785 #85177E
monochromatic
#0F1D05 #2B510E #478517 #63B920 #81DD3A

Accessibility & contrast

On white

4.53
#478517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#478517 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478517
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478517#FFFFFF#000000##000000
##4785171.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#827424
Tritanopia (blue-blind)
#458071
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #478517;
/* rgb */ color: rgb(71, 133, 23);
/* oklch */ color: oklch(55.4% 0.152 135.3);
Tailwind
colors: {
  custom: {
    50: '#81a95f',
    500: '#478517',
    950: '#000000',
  },
}
SCSS
$custom: #478517;
$custom-light: #81a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#478517",
  "rgb": {
    "r": 71,
    "g": 133,
    "b": 23
  },
  "hsl": {
    "h": 93.818,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.55363,
    "c": 0.15167,
    "h": 135.3
  },
  "luminance": 0.18177
}

Semantic roles & 50–950 ramp

primary
#478517
secondary
#843FB9
accent
#3BED9F
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #478517

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

Preview Lab → · Contrast checker → · Palette generator →

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