#478C13#478C13

#478C13 is a mid, vivid yellow-green. Relative luminance 0.201; OKLCH L 57.2% C 0.162 H 135.9°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#478C13
RGBrgb(71, 140, 19)
HSLhsl(94, 76%, 31%)
HSVhsv(94, 86%, 55%)
CMYKcmyk(49.3%, 0%, 86.4%, 45.1%)
CIE-LABlab(52.00, -41.61, 51.50)
CIE-LCHlch(52.00, 66.21, 128.94°)
OKLaboklab(57.24% -0.1163 0.1128)
OKLCHoklch(57.24% 0.162 135.9)
XYZxyz(12.0938, 20.1420, 3.8665)
Luminance0.2014 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478C13 #58138C
analogous
#838C13 #478C13 #138C1B
triadic
#478C13 #13478C #8C1347
tetradic
#478C13 #13838C #58138C #8C1B13
square
#478C13 #13838C #58138C #8C1B13
split-complementary
#478C13 #1B138C #8C1383
monochromatic
#102004 #2C560C #478C13 #62C21A #80E436

Accessibility & contrast

On white

4.18
#478C13 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#478C13 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478C13
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478C13#FFFFFF#000000##000000
##478C131.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#887A23
Tritanopia (blue-blind)
#448677
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #478c13;
/* rgb */ color: rgb(71, 140, 19);
/* oklch */ color: oklch(57.2% 0.162 135.9);
Tailwind
colors: {
  custom: {
    50: '#82ae5e',
    500: '#478c13',
    950: '#000000',
  },
}
SCSS
$custom: #478c13;
$custom-light: #82ae5e;
$custom-dark: #000000;
JSON
{
  "hex": "#478c13",
  "rgb": {
    "r": 71,
    "g": 140,
    "b": 19
  },
  "hsl": {
    "h": 94.215,
    "s": 76.101,
    "l": 31.176
  },
  "oklch": {
    "l": 0.57239,
    "c": 0.16197,
    "h": 135.9
  },
  "luminance": 0.20143
}

Semantic roles & 50–950 ramp

primary
#478C13
secondary
#873BC0
accent
#35F3A1
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #478C13

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

Preview Lab → · Contrast checker → · Palette generator →

#478C13 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva