#478D15#478D15

#478D15 is a mid, vivid yellow-green. Relative luminance 0.204; OKLCH L 57.5% C 0.162 H 136.1°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#478D15
RGBrgb(71, 141, 21)
HSLhsl(95, 74%, 32%)
HSVhsv(95, 85%, 55%)
CMYKcmyk(49.6%, 0%, 85.1%, 44.7%)
CIE-LABlab(52.33, -41.92, 51.28)
CIE-LCHlch(52.33, 66.24, 129.27°)
OKLaboklab(57.52% -0.117 0.1126)
OKLCHoklch(57.52% 0.162 136.1)
XYZxyz(12.2584, 20.4427, 4.0092)
Luminance0.2044 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478D15 #5B158D
analogous
#838D15 #478D15 #158D1F
triadic
#478D15 #15478D #8D1547
tetradic
#478D15 #15838D #5B158D #8D1F15
square
#478D15 #15838D #5B158D #8D1F15
split-complementary
#478D15 #1F158D #8D1583
monochromatic
#112205 #2C580D #478D15 #62C21D #80E23B

Accessibility & contrast

On white

4.13
#478D15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#478D15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478D15
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478D15#FFFFFF#000000##000000
##478D151.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#897B24
Tritanopia (blue-blind)
#448778
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #478d15;
/* rgb */ color: rgb(71, 141, 21);
/* oklch */ color: oklch(57.5% 0.162 136.1);
Tailwind
colors: {
  custom: {
    50: '#82af5f',
    500: '#478d15',
    950: '#000000',
  },
}
SCSS
$custom: #478d15;
$custom-light: #82af5f;
$custom-dark: #000000;
JSON
{
  "hex": "#478d15",
  "rgb": {
    "r": 71,
    "g": 141,
    "b": 21
  },
  "hsl": {
    "h": 95,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.57519,
    "c": 0.16239,
    "h": 136.1
  },
  "luminance": 0.20443
}

Semantic roles & 50–950 ramp

primary
#478D15
secondary
#8A3DC1
accent
#37F1A3
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #478D15

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

Preview Lab → · Contrast checker → · Palette generator →

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