#478017#478017

#478017 is a mid, vivid yellow-green. Relative luminance 0.168; OKLCH L 54.0% C 0.145 H 134.6°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#478017
RGBrgb(71, 128, 23)
HSLhsl(93, 70%, 30%)
HSVhsv(93, 82%, 50%)
CMYKcmyk(44.5%, 0%, 82%, 49.8%)
CIE-LABlab(48.06, -36.41, 46.80)
CIE-LCHlch(48.06, 59.29, 127.88°)
OKLaboklab(54.01% -0.1021 0.1035)
OKLCHoklch(54.01% 0.145 134.6)
XYZxyz(10.4721, 16.8392, 3.5089)
Luminance0.1684 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478017 #501780
analogous
#7C8017 #478017 #17801B
triadic
#478017 #174780 #801747
tetradic
#478017 #177C80 #501780 #801B17
square
#478017 #177C80 #501780 #801B17
split-complementary
#478017 #1B1780 #80177C
monochromatic
#0E1A05 #2A4C0E #478017 #64B420 #82DB36

Accessibility & contrast

On white

4.81
#478017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#478017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #478017
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478017#FFFFFF#000000##FFFFFF
##4780171.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7E7023
Tritanopia (blue-blind)
#467B6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #478017;
/* rgb */ color: rgb(71, 128, 23);
/* oklch */ color: oklch(54.0% 0.145 134.6);
Tailwind
colors: {
  custom: {
    50: '#80a55e',
    500: '#478017',
    950: '#000000',
  },
}
SCSS
$custom: #478017;
$custom-light: #80a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#478017",
  "rgb": {
    "r": 71,
    "g": 128,
    "b": 23
  },
  "hsl": {
    "h": 92.571,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.54008,
    "c": 0.14536,
    "h": 134.6
  },
  "luminance": 0.1684
}

Semantic roles & 50–950 ramp

primary
#478017
secondary
#7E3EB4
accent
#3BEC9B
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #478017

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

Preview Lab → · Contrast checker → · Palette generator →

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