#478D1D#478D1D

#478D1D is a mid, vivid yellow-green. Relative luminance 0.205; OKLCH L 57.6% C 0.159 H 136.7°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#478D1D
RGBrgb(71, 141, 29)
HSLhsl(98, 66%, 33%)
HSVhsv(98, 79%, 55%)
CMYKcmyk(49.6%, 0%, 79.4%, 44.7%)
CIE-LABlab(52.37, -41.50, 48.92)
CIE-LCHlch(52.37, 64.15, 130.31°)
OKLaboklab(57.56% -0.1154 0.1089)
OKLCHoklch(57.56% 0.159 136.7)
XYZxyz(12.3448, 20.4772, 4.4642)
Luminance0.2048 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478D1D #631D8D
analogous
#7F8D1D #478D1D #1D8D2B
triadic
#478D1D #1D478D #8D1D47
tetradic
#478D1D #1D7F8D #631D8D #8D2B1D
square
#478D1D #1D7F8D #631D8D #8D2B1D
split-complementary
#478D1D #2B1D8D #8D1D7F
monochromatic
#142708 #2D5A13 #478D1D #61C027 #80DA4B

Accessibility & contrast

On white

4.12
#478D1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#478D1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478D1D
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478D1D#FFFFFF#000000##000000
##478D1D1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#897B29
Tritanopia (blue-blind)
#438878
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #478d1d;
/* rgb */ color: rgb(71, 141, 29);
/* oklch */ color: oklch(57.6% 0.159 136.7);
Tailwind
colors: {
  custom: {
    50: '#81af63',
    500: '#478d1d',
    950: '#000000',
  },
}
SCSS
$custom: #478d1d;
$custom-light: #81af63;
$custom-dark: #000000;
JSON
{
  "hex": "#478d1d",
  "rgb": {
    "r": 71,
    "g": 141,
    "b": 29
  },
  "hsl": {
    "h": 97.5,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57563,
    "c": 0.15864,
    "h": 136.7
  },
  "luminance": 0.20478
}

Semantic roles & 50–950 ramp

primary
#478D1D
secondary
#914ABC
accent
#3FE9A9
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #478D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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