#478110#478110

#478110 is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.2% C 0.150 H 134.3°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#478110
RGBrgb(71, 129, 16)
HSLhsl(91, 78%, 28%)
HSVhsv(91, 88%, 51%)
CMYKcmyk(45%, 0%, 87.6%, 49.4%)
CIE-LABlab(48.36, -37.17, 49.04)
CIE-LCHlch(48.36, 61.53, 127.16°)
OKLaboklab(54.24% -0.1045 0.1071)
OKLCHoklch(54.24% 0.15 134.3)
XYZxyz(10.5421, 17.0769, 3.2308)
Luminance0.1708 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478110 #4A1081
analogous
#7F8110 #478110 #108111
triadic
#478110 #104781 #811047
tetradic
#478110 #107F81 #4A1081 #811110
square
#478110 #107F81 #4A1081 #811110
split-complementary
#478110 #111081 #81107F
monochromatic
#0F1B03 #294B09 #478110 #65B717 #83E427

Accessibility & contrast

On white

4.76
#478110 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#478110 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #478110
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478110#FFFFFF#000000##FFFFFF
##4781101.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#7F711F
Tritanopia (blue-blind)
#467C6D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #478110;
/* rgb */ color: rgb(71, 129, 16);
/* oklch */ color: oklch(54.2% 0.150 134.3);
Tailwind
colors: {
  custom: {
    50: '#80a65c',
    500: '#478110',
    950: '#000000',
  },
}
SCSS
$custom: #478110;
$custom-light: #80a65c;
$custom-dark: #000000;
JSON
{
  "hex": "#478110",
  "rgb": {
    "r": 71,
    "g": 129,
    "b": 16
  },
  "hsl": {
    "h": 90.796,
    "s": 77.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.54244,
    "c": 0.14968,
    "h": 134.3
  },
  "luminance": 0.17078
}

Semantic roles & 50–950 ramp

primary
#478110
secondary
#7836B7
accent
#33F496
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F04
muted
#7C7F79

Preview Lab

Preview with #478110

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

Preview Lab → · Contrast checker → · Palette generator →

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