#478719#478719

#478719 is a mid, vivid yellow-green. Relative luminance 0.187; OKLCH L 55.9% C 0.153 H 135.7°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#478719
RGBrgb(71, 135, 25)
HSLhsl(95, 69%, 31%)
HSVhsv(95, 81%, 53%)
CMYKcmyk(47.4%, 0%, 81.5%, 47.1%)
CIE-LABlab(50.38, -39.26, 48.33)
CIE-LCHlch(50.38, 62.27, 129.09°)
OKLaboklab(55.92% -0.1096 0.107)
OKLCHoklch(55.92% 0.153 135.7)
XYZxyz(11.4377, 18.7370, 3.9334)
Luminance0.1874 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478719 #591987
analogous
#7E8719 #478719 #198722
triadic
#478719 #194787 #871947
tetradic
#478719 #197E87 #591987 #872219
square
#478719 #197E87 #591987 #872219
split-complementary
#478719 #221987 #87197E
monochromatic
#112006 #2C530F #478719 #62BB23 #80DB3F

Accessibility & contrast

On white

4.42
#478719 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#478719 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478719
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478719#FFFFFF#000000##000000
##4787191.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#847626
Tritanopia (blue-blind)
#458273
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #478719;
/* rgb */ color: rgb(71, 135, 25);
/* oklch */ color: oklch(55.9% 0.153 135.7);
Tailwind
colors: {
  custom: {
    50: '#81aa60',
    500: '#478719',
    950: '#000000',
  },
}
SCSS
$custom: #478719;
$custom-light: #81aa60;
$custom-dark: #000000;
JSON
{
  "hex": "#478719",
  "rgb": {
    "r": 71,
    "g": 135,
    "b": 25
  },
  "hsl": {
    "h": 94.909,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55916,
    "c": 0.1532,
    "h": 135.7
  },
  "luminance": 0.18738
}

Semantic roles & 50–950 ramp

primary
#478719
secondary
#8841BA
accent
#3CECA2
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #478719

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

Preview Lab → · Contrast checker → · Palette generator →

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