#478A1A#478A1A

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

Color values

HEX#478A1A
RGBrgb(71, 138, 26)
HSLhsl(96, 68%, 32%)
HSVhsv(96, 81%, 54%)
CMYKcmyk(48.6%, 0%, 81.2%, 45.9%)
CIE-LABlab(51.37, -40.45, 48.94)
CIE-LCHlch(51.37, 63.49, 129.57°)
OKLaboklab(56.73% -0.1128 0.1084)
OKLCHoklch(56.73% 0.156 136.1)
XYZxyz(11.8731, 19.5904, 4.1328)
Luminance0.1959 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478A1A #5D1A8A
analogous
#7F8A1A #478A1A #1A8A25
triadic
#478A1A #1A478A #8A1A47
tetradic
#478A1A #1A7F8A #5D1A8A #8A251A
square
#478A1A #1A7F8A #5D1A8A #8A251A
split-complementary
#478A1A #251A8A #8A1A7F
monochromatic
#122307 #2D5710 #478A1A #61BD24 #80DC43

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##478A1A#FFFFFF#000000##000000
##478A1A1.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)
#867827
Tritanopia (blue-blind)
#448575
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #478a1a;
/* rgb */ color: rgb(71, 138, 26);
/* oklch */ color: oklch(56.7% 0.156 136.1);
Tailwind
colors: {
  custom: {
    50: '#81ad61',
    500: '#478a1a',
    950: '#000000',
  },
}
SCSS
$custom: #478a1a;
$custom-light: #81ad61;
$custom-dark: #000000;
JSON
{
  "hex": "#478a1a",
  "rgb": {
    "r": 71,
    "g": 138,
    "b": 26
  },
  "hsl": {
    "h": 95.893,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56734,
    "c": 0.15644,
    "h": 136.1
  },
  "luminance": 0.19591
}

Semantic roles & 50–950 ramp

primary
#478A1A
secondary
#8C43BD
accent
#3DEBA5
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #478A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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