#478B1D#478B1D

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

Color values

HEX#478B1D
RGBrgb(71, 139, 29)
HSLhsl(97, 65%, 33%)
HSVhsv(97, 79%, 55%)
CMYKcmyk(48.9%, 0%, 79.1%, 45.5%)
CIE-LABlab(51.72, -40.68, 48.29)
CIE-LCHlch(51.72, 63.14, 130.11°)
OKLaboklab(57.02% -0.1132 0.1075)
OKLCHoklch(57.02% 0.156 136.5)
XYZxyz(12.0526, 19.8927, 4.3667)
Luminance0.1989 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478B1D #611D8B
analogous
#7E8B1D #478B1D #1D8B2A
triadic
#478B1D #1D478B #8B1D47
tetradic
#478B1D #1D7E8B #611D8B #8B2A1D
square
#478B1D #1D7E8B #611D8B #8B2A1D
split-complementary
#478B1D #2A1D8B #8B1D7E
monochromatic
#132608 #2D5812 #478B1D #61BE28 #80D949

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##478B1D#FFFFFF#000000##000000
##478B1D1.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)
#907F01
Deuteranopia (green-blind)
#877929
Tritanopia (blue-blind)
#448676
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #478b1d;
/* rgb */ color: rgb(71, 139, 29);
/* oklch */ color: oklch(57.0% 0.156 136.5);
Tailwind
colors: {
  custom: {
    50: '#81ad62',
    500: '#478b1d',
    950: '#000000',
  },
}
SCSS
$custom: #478b1d;
$custom-light: #81ad62;
$custom-dark: #000000;
JSON
{
  "hex": "#478b1d",
  "rgb": {
    "r": 71,
    "g": 139,
    "b": 29
  },
  "hsl": {
    "h": 97.091,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57023,
    "c": 0.15614,
    "h": 136.5
  },
  "luminance": 0.19894
}

Semantic roles & 50–950 ramp

primary
#478B1D
secondary
#8F49BB
accent
#3FE8A8
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #478B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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