#478916#478916

#478916 is a mid, vivid yellow-green. Relative luminance 0.193; OKLCH L 56.4% C 0.157 H 135.7°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#478916
RGBrgb(71, 137, 22)
HSLhsl(94, 72%, 31%)
HSVhsv(94, 84%, 54%)
CMYKcmyk(48.2%, 0%, 83.9%, 46.3%)
CIE-LABlab(51.02, -40.25, 49.82)
CIE-LCHlch(51.02, 64.05, 128.93°)
OKLaboklab(56.44% -0.1125 0.1097)
OKLCHoklch(56.44% 0.157 135.7)
XYZxyz(11.6887, 19.2881, 3.8660)
Luminance0.1929 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478916 #581689
analogous
#808916 #478916 #16891E
triadic
#478916 #164789 #891647
tetradic
#478916 #168089 #581689 #891E16
square
#478916 #168089 #581689 #891E16
split-complementary
#478916 #1E1689 #891680
monochromatic
#102005 #2C540E #478916 #62BE1E #80DF3A

Accessibility & contrast

On white

4.32
#478916 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#478916 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478916
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478916#FFFFFF#000000##000000
##4789161.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#867824
Tritanopia (blue-blind)
#448474
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #478916;
/* rgb */ color: rgb(71, 137, 22);
/* oklch */ color: oklch(56.4% 0.157 135.7);
Tailwind
colors: {
  custom: {
    50: '#81ac5f',
    500: '#478916',
    950: '#000000',
  },
}
SCSS
$custom: #478916;
$custom-light: #81ac5f;
$custom-dark: #000000;
JSON
{
  "hex": "#478916",
  "rgb": {
    "r": 71,
    "g": 137,
    "b": 22
  },
  "hsl": {
    "h": 94.435,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56442,
    "c": 0.15708,
    "h": 135.7
  },
  "luminance": 0.19289
}

Semantic roles & 50–950 ramp

primary
#478916
secondary
#873EBD
accent
#39EFA1
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #478916

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

Preview Lab → · Contrast checker → · Palette generator →

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