#478F1D#478F1D

#478F1D is a mid, vivid yellow-green. Relative luminance 0.211; OKLCH L 58.1% C 0.161 H 136.9°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#478F1D
RGBrgb(71, 143, 29)
HSLhsl(98, 66%, 34%)
HSVhsv(98, 80%, 56%)
CMYKcmyk(50.3%, 0%, 79.7%, 43.9%)
CIE-LABlab(53.03, -42.31, 49.54)
CIE-LCHlch(53.03, 65.15, 130.49°)
OKLaboklab(58.1% -0.1176 0.1102)
OKLCHoklch(58.1% 0.161 136.9)
XYZxyz(12.6424, 21.0723, 4.5633)
Luminance0.2107 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478F1D #651D8F
analogous
#808F1D #478F1D #1D8F2C
triadic
#478F1D #1D478F #8F1D47
tetradic
#478F1D #1D808F #651D8F #8F2C1D
square
#478F1D #1D808F #651D8F #8F2C1D
split-complementary
#478F1D #2C1D8F #8F1D80
monochromatic
#142908 #2E5C13 #478F1D #60C227 #80DB4C

Accessibility & contrast

On white

4.03
#478F1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#478F1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478F1D
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478F1D#FFFFFF#000000##000000
##478F1D1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8B7C2A
Tritanopia (blue-blind)
#438A7A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #478f1d;
/* rgb */ color: rgb(71, 143, 29);
/* oklch */ color: oklch(58.1% 0.161 136.9);
Tailwind
colors: {
  custom: {
    50: '#82b063',
    500: '#478f1d',
    950: '#000000',
  },
}
SCSS
$custom: #478f1d;
$custom-light: #82b063;
$custom-dark: #000000;
JSON
{
  "hex": "#478f1d",
  "rgb": {
    "r": 71,
    "g": 143,
    "b": 29
  },
  "hsl": {
    "h": 97.895,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.58102,
    "c": 0.16112,
    "h": 136.9
  },
  "luminance": 0.21073
}

Semantic roles & 50–950 ramp

primary
#478F1D
secondary
#934BBD
accent
#3FE9AA
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #478F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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