#478A19#478A19

#478A19 is a mid, vivid yellow-green. Relative luminance 0.196; OKLCH L 56.7% C 0.157 H 136.0°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#478A19
RGBrgb(71, 138, 25)
HSLhsl(96, 69%, 32%)
HSVhsv(96, 82%, 54%)
CMYKcmyk(48.6%, 0%, 81.9%, 45.9%)
CIE-LABlab(51.37, -40.50, 49.25)
CIE-LCHlch(51.37, 63.76, 129.43°)
OKLaboklab(56.73% -0.113 0.1089)
OKLCHoklch(56.73% 0.157 136)
XYZxyz(11.8622, 19.5860, 4.0749)
Luminance0.1959 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478A19 #5C198A
analogous
#808A19 #478A19 #198A23
triadic
#478A19 #19478A #8A1947
tetradic
#478A19 #19808A #5C198A #8A2319
square
#478A19 #19808A #5C198A #8A2319
split-complementary
#478A19 #23198A #8A1980
monochromatic
#122206 #2C5610 #478A19 #62BE22 #80DD41

Accessibility & contrast

On white

4.27
#478A19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#478A19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478A19
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478A19#FFFFFF#000000##000000
##478A191.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#867826
Tritanopia (blue-blind)
#448575
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #478a19;
/* rgb */ color: rgb(71, 138, 25);
/* oklch */ color: oklch(56.7% 0.157 136.0);
Tailwind
colors: {
  custom: {
    50: '#81ad60',
    500: '#478a19',
    950: '#000000',
  },
}
SCSS
$custom: #478a19;
$custom-light: #81ad60;
$custom-dark: #000000;
JSON
{
  "hex": "#478a19",
  "rgb": {
    "r": 71,
    "g": 138,
    "b": 25
  },
  "hsl": {
    "h": 95.575,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56728,
    "c": 0.15693,
    "h": 136
  },
  "luminance": 0.19587
}

Semantic roles & 50–950 ramp

primary
#478A19
secondary
#8B42BD
accent
#3CECA4
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #478A19

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

Preview Lab → · Contrast checker → · Palette generator →

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