#478819#478819

#478819 is a mid, vivid yellow-green. Relative luminance 0.190; OKLCH L 56.2% C 0.154 H 135.8°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#478819
RGBrgb(71, 136, 25)
HSLhsl(95, 69%, 32%)
HSVhsv(95, 82%, 53%)
CMYKcmyk(47.8%, 0%, 81.6%, 46.7%)
CIE-LABlab(50.71, -39.68, 48.64)
CIE-LCHlch(50.71, 62.77, 129.21°)
OKLaboklab(56.19% -0.1108 0.1077)
OKLCHoklch(56.19% 0.154 135.8)
XYZxyz(11.5779, 19.0174, 3.9802)
Luminance0.1902 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478819 #5A1988
analogous
#7F8819 #478819 #198823
triadic
#478819 #194788 #881947
tetradic
#478819 #197F88 #5A1988 #882319
square
#478819 #197F88 #5A1988 #882319
split-complementary
#478819 #231988 #88197F
monochromatic
#112106 #2C540F #478819 #62BC23 #80DC40

Accessibility & contrast

On white

4.37
#478819 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#478819 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478819
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478819#FFFFFF#000000##000000
##4788191.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#857726
Tritanopia (blue-blind)
#448374
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #478819;
/* rgb */ color: rgb(71, 136, 25);
/* oklch */ color: oklch(56.2% 0.154 135.8);
Tailwind
colors: {
  custom: {
    50: '#81ab60',
    500: '#478819',
    950: '#000000',
  },
}
SCSS
$custom: #478819;
$custom-light: #81ab60;
$custom-dark: #000000;
JSON
{
  "hex": "#478819",
  "rgb": {
    "r": 71,
    "g": 136,
    "b": 25
  },
  "hsl": {
    "h": 95.135,
    "s": 68.944,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56187,
    "c": 0.15445,
    "h": 135.8
  },
  "luminance": 0.19018
}

Semantic roles & 50–950 ramp

primary
#478819
secondary
#8941BB
accent
#3CECA3
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #478819

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

Preview Lab → · Contrast checker → · Palette generator →

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