#478116#478116

#478116 is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.3% C 0.147 H 134.7°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#478116
RGBrgb(71, 129, 22)
HSLhsl(93, 71%, 30%)
HSVhsv(93, 83%, 51%)
CMYKcmyk(45%, 0%, 82.9%, 49.4%)
CIE-LABlab(48.38, -36.89, 47.41)
CIE-LCHlch(48.38, 60.07, 127.89°)
OKLaboklab(54.27% -0.1035 0.1046)
OKLCHoklch(54.27% 0.147 134.7)
XYZxyz(10.5934, 17.0974, 3.5008)
Luminance0.1710 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478116 #501681
analogous
#7D8116 #478116 #16811A
triadic
#478116 #164781 #811647
tetradic
#478116 #167D81 #501681 #811A16
square
#478116 #167D81 #501681 #811A16
split-complementary
#478116 #1A1681 #81167D
monochromatic
#0E1A04 #2A4D0D #478116 #64B51F #82DD35

Accessibility & contrast

On white

4.75
#478116 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #478116
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478116#FFFFFF#000000##FFFFFF
##4781161.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #478116;
/* rgb */ color: rgb(71, 129, 22);
/* oklch */ color: oklch(54.3% 0.147 134.7);
Tailwind
colors: {
  custom: {
    50: '#80a65e',
    500: '#478116',
    950: '#000000',
  },
}
SCSS
$custom: #478116;
$custom-light: #80a65e;
$custom-dark: #000000;
JSON
{
  "hex": "#478116",
  "rgb": {
    "r": 71,
    "g": 129,
    "b": 22
  },
  "hsl": {
    "h": 92.523,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.54273,
    "c": 0.14712,
    "h": 134.7
  },
  "luminance": 0.17098
}

Semantic roles & 50–950 ramp

primary
#478116
secondary
#7E3DB6
accent
#3AEE9B
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #478116

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

Preview Lab → · Contrast checker → · Palette generator →

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