#478E1D#478E1D

#478E1D is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 57.8% C 0.160 H 136.8°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#478E1D
RGBrgb(71, 142, 29)
HSLhsl(98, 66%, 34%)
HSVhsv(98, 80%, 56%)
CMYKcmyk(50%, 0%, 79.6%, 44.3%)
CIE-LABlab(52.70, -41.90, 49.23)
CIE-LCHlch(52.70, 64.65, 130.40°)
OKLaboklab(57.83% -0.1165 0.1095)
OKLCHoklch(57.83% 0.16 136.8)
XYZxyz(12.4929, 20.7734, 4.5135)
Luminance0.2077 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478E1D #641D8E
analogous
#7F8E1D #478E1D #1D8E2B
triadic
#478E1D #1D478E #8E1D47
tetradic
#478E1D #1D7F8E #641D8E #8E2B1D
square
#478E1D #1D7F8E #641D8E #8E2B1D
split-complementary
#478E1D #2B1D8E #8E1D7F
monochromatic
#142808 #2E5B13 #478E1D #60C127 #80DA4B

Accessibility & contrast

On white

4.07
#478E1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#478E1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478E1D
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478E1D#FFFFFF#000000##000000
##478E1D1.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#8A7C2A
Tritanopia (blue-blind)
#438979
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #478e1d;
/* rgb */ color: rgb(71, 142, 29);
/* oklch */ color: oklch(57.8% 0.160 136.8);
Tailwind
colors: {
  custom: {
    50: '#82b063',
    500: '#478e1d',
    950: '#000000',
  },
}
SCSS
$custom: #478e1d;
$custom-light: #82b063;
$custom-dark: #000000;
JSON
{
  "hex": "#478e1d",
  "rgb": {
    "r": 71,
    "g": 142,
    "b": 29
  },
  "hsl": {
    "h": 97.699,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57833,
    "c": 0.15988,
    "h": 136.8
  },
  "luminance": 0.20774
}

Semantic roles & 50–950 ramp

primary
#478E1D
secondary
#924ABD
accent
#3FE9AA
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #478E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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