#478D1A#478D1A

#478D1A is a mid, vivid yellow-green. Relative luminance 0.205; OKLCH L 57.5% C 0.160 H 136.4°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#478D1A
RGBrgb(71, 141, 26)
HSLhsl(97, 69%, 33%)
HSVhsv(97, 82%, 55%)
CMYKcmyk(49.6%, 0%, 81.6%, 44.7%)
CIE-LABlab(52.36, -41.67, 49.86)
CIE-LCHlch(52.36, 64.98, 129.89°)
OKLaboklab(57.55% -0.116 0.1104)
OKLCHoklch(57.55% 0.16 136.4)
XYZxyz(12.3095, 20.4631, 4.2782)
Luminance0.2046 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478D1A #601A8D
analogous
#808D1A #478D1A #1A8D27
triadic
#478D1A #1A478D #8D1A47
tetradic
#478D1A #1A808D #601A8D #8D271A
square
#478D1A #1A808D #601A8D #8D271A
split-complementary
#478D1A #271A8D #8D1A80
monochromatic
#132607 #2D5910 #478D1A #61C124 #80DD45

Accessibility & contrast

On white

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

On black

5.09
#478D1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478D1A
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478D1A#FFFFFF#000000##000000
##478D1A1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #478d1a;
/* rgb */ color: rgb(71, 141, 26);
/* oklch */ color: oklch(57.5% 0.160 136.4);
Tailwind
colors: {
  custom: {
    50: '#82af61',
    500: '#478d1a',
    950: '#000000',
  },
}
SCSS
$custom: #478d1a;
$custom-light: #82af61;
$custom-dark: #000000;
JSON
{
  "hex": "#478d1a",
  "rgb": {
    "r": 71,
    "g": 141,
    "b": 26
  },
  "hsl": {
    "h": 96.522,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.57545,
    "c": 0.16015,
    "h": 136.4
  },
  "luminance": 0.20464
}

Semantic roles & 50–950 ramp

primary
#478D1A
secondary
#8F45BE
accent
#3CECA7
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #478D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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