#478A1D#478A1D

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

Color values

HEX#478A1D
RGBrgb(71, 138, 29)
HSLhsl(97, 65%, 33%)
HSVhsv(97, 79%, 54%)
CMYKcmyk(48.6%, 0%, 79%, 45.9%)
CIE-LABlab(51.39, -40.27, 47.98)
CIE-LCHlch(51.39, 62.64, 130.01°)
OKLaboklab(56.75% -0.1121 0.1069)
OKLCHoklch(56.75% 0.155 136.4)
XYZxyz(11.9085, 19.6045, 4.3187)
Luminance0.1961 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478A1D #601D8A
analogous
#7D8A1D #478A1D #1D8A2A
triadic
#478A1D #1D478A #8A1D47
tetradic
#478A1D #1D7D8A #601D8A #8A2A1D
square
#478A1D #1D7D8A #601D8A #8A2A1D
split-complementary
#478A1D #2A1D8A #8A1D7D
monochromatic
#132508 #2D5712 #478A1D #61BD28 #80D949

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##478A1D#FFFFFF#000000##000000
##478A1D1.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)
#8F7E01
Deuteranopia (green-blind)
#867829
Tritanopia (blue-blind)
#448576
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #478a1d;
/* rgb */ color: rgb(71, 138, 29);
/* oklch */ color: oklch(56.8% 0.155 136.4);
Tailwind
colors: {
  custom: {
    50: '#81ad62',
    500: '#478a1d',
    950: '#000000',
  },
}
SCSS
$custom: #478a1d;
$custom-light: #81ad62;
$custom-dark: #000000;
JSON
{
  "hex": "#478a1d",
  "rgb": {
    "r": 71,
    "g": 138,
    "b": 29
  },
  "hsl": {
    "h": 96.881,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56752,
    "c": 0.15489,
    "h": 136.4
  },
  "luminance": 0.19605
}

Semantic roles & 50–950 ramp

primary
#478A1D
secondary
#8F48BB
accent
#40E8A7
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #478A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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