#478917#478917

#478917 is a mid, vivid yellow-green. Relative luminance 0.193; OKLCH L 56.4% C 0.157 H 135.8°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#478917
RGBrgb(71, 137, 23)
HSLhsl(95, 71%, 31%)
HSVhsv(95, 83%, 54%)
CMYKcmyk(48.2%, 0%, 83.2%, 46.3%)
CIE-LABlab(51.03, -40.20, 49.54)
CIE-LCHlch(51.03, 63.79, 129.06°)
OKLaboklab(56.45% -0.1123 0.1092)
OKLCHoklch(56.45% 0.157 135.8)
XYZxyz(11.6986, 19.2920, 3.9177)
Luminance0.1929 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478917 #591789
analogous
#808917 #478917 #178920
triadic
#478917 #174789 #891747
tetradic
#478917 #178089 #591789 #892017
square
#478917 #178089 #591789 #892017
split-complementary
#478917 #201789 #891780
monochromatic
#112005 #2C550E #478917 #62BD20 #80DE3C

Accessibility & contrast

On white

4.32
#478917 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#478917 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478917
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478917#FFFFFF#000000##000000
##4789171.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #478917;
/* rgb */ color: rgb(71, 137, 23);
/* oklch */ color: oklch(56.4% 0.157 135.8);
Tailwind
colors: {
  custom: {
    50: '#81ac5f',
    500: '#478917',
    950: '#000000',
  },
}
SCSS
$custom: #478917;
$custom-light: #81ac5f;
$custom-dark: #000000;
JSON
{
  "hex": "#478917",
  "rgb": {
    "r": 71,
    "g": 137,
    "b": 23
  },
  "hsl": {
    "h": 94.737,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.56447,
    "c": 0.15664,
    "h": 135.8
  },
  "luminance": 0.19293
}

Semantic roles & 50–950 ramp

primary
#478917
secondary
#883FBD
accent
#3AEEA2
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #478917

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

Preview Lab → · Contrast checker → · Palette generator →

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