#478013#478013

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

Color values

HEX#478013
RGBrgb(71, 128, 19)
HSLhsl(91, 74%, 29%)
HSVhsv(91, 85%, 50%)
CMYKcmyk(44.5%, 0%, 85.2%, 49.8%)
CIE-LABlab(48.04, -36.61, 47.97)
CIE-LCHlch(48.04, 60.34, 127.35°)
OKLaboklab(53.99% -0.1029 0.1053)
OKLCHoklch(53.99% 0.147 134.3)
XYZxyz(10.4350, 16.8244, 3.3136)
Luminance0.1683 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478013 #4C1380
analogous
#7E8013 #478013 #138015
triadic
#478013 #134780 #801347
tetradic
#478013 #137E80 #4C1380 #801513
square
#478013 #137E80 #4C1380 #801513
split-complementary
#478013 #151380 #80137E
monochromatic
#0F1B04 #294B0B #478013 #65B51B #83E02D

Accessibility & contrast

On white

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

On black

4.36
#478013 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##478013#FFFFFF#000000##FFFFFF
##4780131.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.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: #478013;
/* rgb */ color: rgb(71, 128, 19);
/* oklch */ color: oklch(54.0% 0.147 134.3);
Tailwind
colors: {
  custom: {
    50: '#80a55c',
    500: '#478013',
    950: '#000000',
  },
}
SCSS
$custom: #478013;
$custom-light: #80a55c;
$custom-dark: #000000;
JSON
{
  "hex": "#478013",
  "rgb": {
    "r": 71,
    "g": 128,
    "b": 19
  },
  "hsl": {
    "h": 91.376,
    "s": 74.15,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53986,
    "c": 0.14722,
    "h": 134.3
  },
  "luminance": 0.16825
}

Semantic roles & 50–950 ramp

primary
#478013
secondary
#7A39B5
accent
#37F198
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #478013

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

Preview Lab → · Contrast checker → · Palette generator →

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