#478B1A#478B1A

#478B1A is a mid, vivid yellow-green. Relative luminance 0.199; OKLCH L 57.0% C 0.158 H 136.2°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#478B1A
RGBrgb(71, 139, 26)
HSLhsl(96, 68%, 32%)
HSVhsv(96, 81%, 55%)
CMYKcmyk(48.9%, 0%, 81.3%, 45.5%)
CIE-LABlab(51.70, -40.86, 49.25)
CIE-LCHlch(51.70, 63.99, 129.68°)
OKLaboklab(57% -0.1139 0.1091)
OKLCHoklch(57% 0.158 136.2)
XYZxyz(12.0173, 19.8786, 4.1808)
Luminance0.1988 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478B1A #5E1A8B
analogous
#808B1A #478B1A #1A8B25
triadic
#478B1A #1A478B #8B1A47
tetradic
#478B1A #1A808B #5E1A8B #8B251A
square
#478B1A #1A808B #5E1A8B #8B251A
split-complementary
#478B1A #251A8B #8B1A80
monochromatic
#122407 #2D5710 #478B1A #61BF24 #80DC43

Accessibility & contrast

On white

4.22
#478B1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#478B1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478B1A
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478B1A#FFFFFF#000000##000000
##478B1A1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#877927
Tritanopia (blue-blind)
#448676
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #478b1a;
/* rgb */ color: rgb(71, 139, 26);
/* oklch */ color: oklch(57.0% 0.158 136.2);
Tailwind
colors: {
  custom: {
    50: '#81ad61',
    500: '#478b1a',
    950: '#000000',
  },
}
SCSS
$custom: #478b1a;
$custom-light: #81ad61;
$custom-dark: #000000;
JSON
{
  "hex": "#478b1a",
  "rgb": {
    "r": 71,
    "g": 139,
    "b": 26
  },
  "hsl": {
    "h": 96.106,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57004,
    "c": 0.15769,
    "h": 136.2
  },
  "luminance": 0.19879
}

Semantic roles & 50–950 ramp

primary
#478B1A
secondary
#8D44BD
accent
#3CEBA6
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #478B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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