#478716#478716

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

Color values

HEX#478716
RGBrgb(71, 135, 22)
HSLhsl(94, 72%, 31%)
HSVhsv(94, 84%, 53%)
CMYKcmyk(47.4%, 0%, 83.7%, 47.1%)
CIE-LABlab(50.36, -39.42, 49.22)
CIE-LCHlch(50.36, 63.06, 128.69°)
OKLaboklab(55.9% -0.1102 0.1084)
OKLCHoklch(55.9% 0.155 135.5)
XYZxyz(11.4071, 18.7247, 3.7721)
Luminance0.1872 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478716 #561687
analogous
#7F8716 #478716 #16871D
triadic
#478716 #164787 #871647
tetradic
#478716 #167F87 #561687 #871D16
square
#478716 #167F87 #561687 #871D16
split-complementary
#478716 #1D1687 #87167F
monochromatic
#101E05 #2B520D #478716 #63BC1F #81DF39

Accessibility & contrast

On white

4.43
#478716 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##478716#FFFFFF#000000##000000
##4787161.004.434.754.75
#FFFFFF4.431.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #478716;
/* rgb */ color: rgb(71, 135, 22);
/* oklch */ color: oklch(55.9% 0.155 135.5);
Tailwind
colors: {
  custom: {
    50: '#81aa5f',
    500: '#478716',
    950: '#000000',
  },
}
SCSS
$custom: #478716;
$custom-light: #81aa5f;
$custom-dark: #000000;
JSON
{
  "hex": "#478716",
  "rgb": {
    "r": 71,
    "g": 135,
    "b": 22
  },
  "hsl": {
    "h": 93.982,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.559,
    "c": 0.15462,
    "h": 135.5
  },
  "luminance": 0.18725
}

Semantic roles & 50–950 ramp

primary
#478716
secondary
#853EBB
accent
#39EFA0
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #478716

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

Preview Lab → · Contrast checker → · Palette generator →

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