#478C19#478C19

#478C19 is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.3% C 0.159 H 136.3°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#478C19
RGBrgb(71, 140, 25)
HSLhsl(96, 70%, 32%)
HSVhsv(96, 82%, 55%)
CMYKcmyk(49.3%, 0%, 82.1%, 45.1%)
CIE-LABlab(52.02, -41.32, 49.86)
CIE-LCHlch(52.02, 64.75, 129.65°)
OKLaboklab(57.27% -0.1152 0.1102)
OKLCHoklch(57.27% 0.159 136.3)
XYZxyz(12.1518, 20.1651, 4.1715)
Luminance0.2017 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478C19 #5E198C
analogous
#818C19 #478C19 #198C25
triadic
#478C19 #19478C #8C1947
tetradic
#478C19 #19818C #5E198C #8C2519
square
#478C19 #19818C #5E198C #8C2519
split-complementary
#478C19 #25198C #8C1981
monochromatic
#122406 #2D5810 #478C19 #61C022 #80DD42

Accessibility & contrast

On white

4.17
#478C19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##478C19#FFFFFF#000000##000000
##478C191.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #478c19;
/* rgb */ color: rgb(71, 140, 25);
/* oklch */ color: oklch(57.3% 0.159 136.3);
Tailwind
colors: {
  custom: {
    50: '#81ae61',
    500: '#478c19',
    950: '#000000',
  },
}
SCSS
$custom: #478c19;
$custom-light: #81ae61;
$custom-dark: #000000;
JSON
{
  "hex": "#478c19",
  "rgb": {
    "r": 71,
    "g": 140,
    "b": 25
  },
  "hsl": {
    "h": 96,
    "s": 69.697,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57269,
    "c": 0.15941,
    "h": 136.3
  },
  "luminance": 0.20166
}

Semantic roles & 50–950 ramp

primary
#478C19
secondary
#8D43BE
accent
#3BEDA6
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #478C19

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

Preview Lab → · Contrast checker → · Palette generator →

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