#478C15#478C15

#478C15 is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.2% C 0.161 H 136.0°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#478C15
RGBrgb(71, 140, 21)
HSLhsl(95, 74%, 32%)
HSVhsv(95, 85%, 55%)
CMYKcmyk(49.3%, 0%, 85%, 45.1%)
CIE-LABlab(52.01, -41.52, 50.99)
CIE-LCHlch(52.01, 65.75, 129.16°)
OKLaboklab(57.25% -0.1159 0.112)
OKLCHoklch(57.25% 0.161 136)
XYZxyz(12.1117, 20.1491, 3.9603)
Luminance0.2015 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478C15 #5A158C
analogous
#838C15 #478C15 #158C1F
triadic
#478C15 #15478C #8C1547
tetradic
#478C15 #15838C #5A158C #8C1F15
square
#478C15 #15838C #5A158C #8C1F15
split-complementary
#478C15 #1F158C #8C1583
monochromatic
#112205 #2C570D #478C15 #62C11D #80E13A

Accessibility & contrast

On white

4.17
#478C15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#478C15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478C15
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478C15#FFFFFF#000000##000000
##478C151.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#887A24
Tritanopia (blue-blind)
#448677
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #478c15;
/* rgb */ color: rgb(71, 140, 21);
/* oklch */ color: oklch(57.2% 0.161 136.0);
Tailwind
colors: {
  custom: {
    50: '#82ae5f',
    500: '#478c15',
    950: '#000000',
  },
}
SCSS
$custom: #478c15;
$custom-light: #82ae5f;
$custom-dark: #000000;
JSON
{
  "hex": "#478c15",
  "rgb": {
    "r": 71,
    "g": 140,
    "b": 21
  },
  "hsl": {
    "h": 94.79,
    "s": 73.913,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57248,
    "c": 0.16117,
    "h": 136
  },
  "luminance": 0.2015
}

Semantic roles & 50–950 ramp

primary
#478C15
secondary
#893DC0
accent
#37F1A3
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #478C15

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

Preview Lab → · Contrast checker → · Palette generator →

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