#478919#478919

#478919 is a mid, vivid yellow-green. Relative luminance 0.193; OKLCH L 56.5% C 0.156 H 135.9°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#478919
RGBrgb(71, 137, 25)
HSLhsl(95, 69%, 32%)
HSVhsv(95, 82%, 54%)
CMYKcmyk(48.2%, 0%, 81.8%, 46.3%)
CIE-LABlab(51.04, -40.09, 48.94)
CIE-LCHlch(51.04, 63.27, 129.32°)
OKLaboklab(56.46% -0.1119 0.1083)
OKLCHoklch(56.46% 0.156 135.9)
XYZxyz(11.7194, 19.3003, 4.0273)
Luminance0.1930 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478919 #5B1989
analogous
#7F8919 #478919 #198923
triadic
#478919 #194789 #891947
tetradic
#478919 #197F89 #5B1989 #892319
square
#478919 #197F89 #5B1989 #892319
split-complementary
#478919 #231989 #89197F
monochromatic
#112106 #2C5510 #478919 #62BD22 #80DC40

Accessibility & contrast

On white

4.32
#478919 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#478919 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478919
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478919#FFFFFF#000000##000000
##4789191.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#857826
Tritanopia (blue-blind)
#448474
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #478919;
/* rgb */ color: rgb(71, 137, 25);
/* oklch */ color: oklch(56.5% 0.156 135.9);
Tailwind
colors: {
  custom: {
    50: '#81ac60',
    500: '#478919',
    950: '#000000',
  },
}
SCSS
$custom: #478919;
$custom-light: #81ac60;
$custom-dark: #000000;
JSON
{
  "hex": "#478919",
  "rgb": {
    "r": 71,
    "g": 137,
    "b": 25
  },
  "hsl": {
    "h": 95.357,
    "s": 69.136,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56458,
    "c": 0.1557,
    "h": 135.9
  },
  "luminance": 0.19301
}

Semantic roles & 50–950 ramp

primary
#478919
secondary
#8A41BC
accent
#3CECA4
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #478919

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

Preview Lab → · Contrast checker → · Palette generator →

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