#478D13#478D13

#478D13 is a mid, vivid yellow-green. Relative luminance 0.204; OKLCH L 57.5% C 0.163 H 136.0°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#478D13
RGBrgb(71, 141, 19)
HSLhsl(94, 76%, 31%)
HSVhsv(94, 87%, 55%)
CMYKcmyk(49.6%, 0%, 86.5%, 44.7%)
CIE-LABlab(52.33, -42.01, 51.79)
CIE-LCHlch(52.33, 66.69, 129.05°)
OKLaboklab(57.51% -0.1173 0.1134)
OKLCHoklch(57.51% 0.163 136)
XYZxyz(12.2406, 20.4355, 3.9154)
Luminance0.2044 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478D13 #59138D
analogous
#848D13 #478D13 #138D1C
triadic
#478D13 #13478D #8D1347
tetradic
#478D13 #13848D #59138D #8D1C13
square
#478D13 #13848D #59138D #8D1C13
split-complementary
#478D13 #1C138D #8D1384
monochromatic
#112104 #2C570C #478D13 #62C31A #80E436

Accessibility & contrast

On white

4.13
#478D13 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#478D13 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478D13
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478D13#FFFFFF#000000##000000
##478D131.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#897B23
Tritanopia (blue-blind)
#448778
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #478d13;
/* rgb */ color: rgb(71, 141, 19);
/* oklch */ color: oklch(57.5% 0.163 136.0);
Tailwind
colors: {
  custom: {
    50: '#82af5f',
    500: '#478d13',
    950: '#000000',
  },
}
SCSS
$custom: #478d13;
$custom-light: #82af5f;
$custom-dark: #000000;
JSON
{
  "hex": "#478d13",
  "rgb": {
    "r": 71,
    "g": 141,
    "b": 19
  },
  "hsl": {
    "h": 94.426,
    "s": 76.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5751,
    "c": 0.16317,
    "h": 136
  },
  "luminance": 0.20436
}

Semantic roles & 50–950 ramp

primary
#478D13
secondary
#883BC1
accent
#35F3A2
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #478D13

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

Preview Lab → · Contrast checker → · Palette generator →

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