#478019#478019

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

Color values

HEX#478019
RGBrgb(71, 128, 25)
HSLhsl(93, 67%, 30%)
HSVhsv(93, 80%, 50%)
CMYKcmyk(44.5%, 0%, 80.5%, 49.8%)
CIE-LABlab(48.07, -36.29, 46.16)
CIE-LCHlch(48.07, 58.72, 128.18°)
OKLaboklab(54.02% -0.1017 0.1025)
OKLCHoklch(54.02% 0.144 134.8)
XYZxyz(10.4930, 16.8475, 3.6185)
Luminance0.1685 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478019 #521980
analogous
#7A8019 #478019 #19801F
triadic
#478019 #194780 #801947
tetradic
#478019 #197A80 #521980 #801F19
square
#478019 #197A80 #521980 #801F19
split-complementary
#478019 #1F1980 #80197A
monochromatic
#0E1A05 #2B4D0F #478019 #63B323 #81D93B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##478019#FFFFFF#000000##FFFFFF
##4780191.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)
#7D7024
Tritanopia (blue-blind)
#467B6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #478019;
/* rgb */ color: rgb(71, 128, 25);
/* oklch */ color: oklch(54.0% 0.144 134.8);
Tailwind
colors: {
  custom: {
    50: '#80a55f',
    500: '#478019',
    950: '#000000',
  },
}
SCSS
$custom: #478019;
$custom-light: #80a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#478019",
  "rgb": {
    "r": 71,
    "g": 128,
    "b": 25
  },
  "hsl": {
    "h": 93.204,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.5402,
    "c": 0.14433,
    "h": 134.8
  },
  "luminance": 0.16848
}

Semantic roles & 50–950 ramp

primary
#478019
secondary
#8141B4
accent
#3EEA9D
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #478019

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

Preview Lab → · Contrast checker → · Palette generator →

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