#478014#478014

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

Color values

HEX#478014
RGBrgb(71, 128, 20)
HSLhsl(92, 73%, 29%)
HSVhsv(92, 84%, 50%)
CMYKcmyk(44.5%, 0%, 84.4%, 49.8%)
CIE-LABlab(48.04, -36.56, 47.69)
CIE-LCHlch(48.04, 60.09, 127.48°)
OKLaboklab(53.99% -0.1027 0.1049)
OKLCHoklch(53.99% 0.147 134.4)
XYZxyz(10.4438, 16.8279, 3.3595)
Luminance0.1683 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478014 #4D1480
analogous
#7D8014 #478014 #148017
triadic
#478014 #144780 #801447
tetradic
#478014 #147D80 #4D1480 #801714
square
#478014 #147D80 #4D1480 #801714
split-complementary
#478014 #171480 #80147D
monochromatic
#0F1A04 #2A4B0C #478014 #64B51C #82DF30

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##478014#FFFFFF#000000##FFFFFF
##4780141.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)
#7E7021
Tritanopia (blue-blind)
#467B6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #478014;
/* rgb */ color: rgb(71, 128, 20);
/* oklch */ color: oklch(54.0% 0.147 134.4);
Tailwind
colors: {
  custom: {
    50: '#80a55d',
    500: '#478014',
    950: '#000000',
  },
}
SCSS
$custom: #478014;
$custom-light: #80a55d;
$custom-dark: #000000;
JSON
{
  "hex": "#478014",
  "rgb": {
    "r": 71,
    "g": 128,
    "b": 20
  },
  "hsl": {
    "h": 91.667,
    "s": 72.973,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53991,
    "c": 0.14678,
    "h": 134.4
  },
  "luminance": 0.16828
}

Semantic roles & 50–950 ramp

primary
#478014
secondary
#7B3BB5
accent
#38F099
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #478014

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

Preview Lab → · Contrast checker → · Palette generator →

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