#478015#478015

#478015 is a mid, vivid yellow-green. Relative luminance 0.168; OKLCH L 54.0% C 0.146 H 134.5°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#478015
RGBrgb(71, 128, 21)
HSLhsl(92, 72%, 29%)
HSVhsv(92, 84%, 50%)
CMYKcmyk(44.5%, 0%, 83.6%, 49.8%)
CIE-LABlab(48.05, -36.51, 47.40)
CIE-LCHlch(48.05, 59.83, 127.61°)
OKLaboklab(54% -0.1025 0.1044)
OKLCHoklch(54% 0.146 134.5)
XYZxyz(10.4529, 16.8315, 3.4073)
Luminance0.1683 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478015 #4E1580
analogous
#7D8015 #478015 #158019
triadic
#478015 #154780 #801547
tetradic
#478015 #157D80 #4E1580 #801915
square
#478015 #157D80 #4E1580 #801915
split-complementary
#478015 #191580 #80157D
monochromatic
#0F1A04 #2A4B0C #478015 #64B51E #82DD32

Accessibility & contrast

On white

4.81
#478015 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#478015 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #478015
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478015#FFFFFF#000000##FFFFFF
##4780151.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7E7022
Tritanopia (blue-blind)
#467B6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #478015;
/* rgb */ color: rgb(71, 128, 21);
/* oklch */ color: oklch(54.0% 0.146 134.5);
Tailwind
colors: {
  custom: {
    50: '#80a55d',
    500: '#478015',
    950: '#000000',
  },
}
SCSS
$custom: #478015;
$custom-light: #80a55d;
$custom-dark: #000000;
JSON
{
  "hex": "#478015",
  "rgb": {
    "r": 71,
    "g": 128,
    "b": 21
  },
  "hsl": {
    "h": 91.963,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53996,
    "c": 0.14633,
    "h": 134.5
  },
  "luminance": 0.16832
}

Semantic roles & 50–950 ramp

primary
#478015
secondary
#7C3CB5
accent
#39EF9A
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #478015

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

Preview Lab → · Contrast checker → · Palette generator →

#478015 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva