#478D1E#478D1E

#478D1E is a mid, vivid yellow-green. Relative luminance 0.205; OKLCH L 57.6% C 0.158 H 136.8°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#478D1E
RGBrgb(71, 141, 30)
HSLhsl(98, 65%, 34%)
HSVhsv(98, 79%, 55%)
CMYKcmyk(49.6%, 0%, 78.7%, 44.7%)
CIE-LABlab(52.38, -41.43, 48.59)
CIE-LCHlch(52.38, 63.86, 130.46°)
OKLaboklab(57.57% -0.1152 0.1083)
OKLCHoklch(57.57% 0.158 136.8)
XYZxyz(12.3574, 20.4822, 4.5304)
Luminance0.2048 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478D1E #641E8D
analogous
#7E8D1E #478D1E #1E8D2C
triadic
#478D1E #1E478D #8D1E47
tetradic
#478D1E #1E7E8D #641E8D #8D2C1E
square
#478D1E #1E7E8D #641E8D #8D2C1E
split-complementary
#478D1E #2C1E8D #8D1E7E
monochromatic
#142809 #2E5B13 #478D1E #60BF29 #80D94C

Accessibility & contrast

On white

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

On black

5.10
#478D1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478D1E
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478D1E#FFFFFF#000000##000000
##478D1E1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #478d1e;
/* rgb */ color: rgb(71, 141, 30);
/* oklch */ color: oklch(57.6% 0.158 136.8);
Tailwind
colors: {
  custom: {
    50: '#81af63',
    500: '#478d1e',
    950: '#000000',
  },
}
SCSS
$custom: #478d1e;
$custom-light: #81af63;
$custom-dark: #000000;
JSON
{
  "hex": "#478d1e",
  "rgb": {
    "r": 71,
    "g": 141,
    "b": 30
  },
  "hsl": {
    "h": 97.838,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57569,
    "c": 0.15811,
    "h": 136.8
  },
  "luminance": 0.20483
}

Semantic roles & 50–950 ramp

primary
#478D1E
secondary
#924BBC
accent
#40E8AA
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #478D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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