#478C1D#478C1D

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

Color values

HEX#478C1D
RGBrgb(71, 140, 29)
HSLhsl(97, 66%, 33%)
HSVhsv(97, 79%, 55%)
CMYKcmyk(49.3%, 0%, 79.3%, 45.1%)
CIE-LABlab(52.04, -41.09, 48.61)
CIE-LCHlch(52.04, 63.65, 130.21°)
OKLaboklab(57.29% -0.1143 0.1082)
OKLCHoklch(57.29% 0.157 136.6)
XYZxyz(12.1980, 20.1836, 4.4152)
Luminance0.2018 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478C1D #621D8C
analogous
#7E8C1D #478C1D #1D8C2A
triadic
#478C1D #1D478C #8C1D47
tetradic
#478C1D #1D7E8C #621D8C #8C2A1D
square
#478C1D #1D7E8C #621D8C #8C2A1D
split-complementary
#478C1D #2A1D8C #8C1D7E
monochromatic
#142708 #2D5912 #478C1D #61BF28 #80D94A

Accessibility & contrast

On white

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

On black

5.04
#478C1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478C1D
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478C1D#FFFFFF#000000##000000
##478C1D1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #478c1d;
/* rgb */ color: rgb(71, 140, 29);
/* oklch */ color: oklch(57.3% 0.157 136.6);
Tailwind
colors: {
  custom: {
    50: '#81ae62',
    500: '#478c1d',
    950: '#000000',
  },
}
SCSS
$custom: #478c1d;
$custom-light: #81ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#478c1d",
  "rgb": {
    "r": 71,
    "g": 140,
    "b": 29
  },
  "hsl": {
    "h": 97.297,
    "s": 65.68,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57293,
    "c": 0.1574,
    "h": 136.6
  },
  "luminance": 0.20184
}

Semantic roles & 50–950 ramp

primary
#478C1D
secondary
#9049BC
accent
#3FE9A9
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #478C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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