#4A8016#4A8016

#4A8016 is a mid, vivid yellow-green. Relative luminance 0.170; OKLCH L 54.2% C 0.144 H 133.7°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#4A8016
RGBrgb(74, 128, 22)
HSLhsl(91, 71%, 29%)
HSVhsv(91, 83%, 50%)
CMYKcmyk(42.2%, 0%, 82.8%, 49.8%)
CIE-LABlab(48.20, -35.38, 47.29)
CIE-LCHlch(48.20, 59.06, 126.80°)
OKLaboklab(54.16% -0.0996 0.1043)
OKLCHoklch(54.16% 0.144 133.7)
XYZxyz(10.6879, 16.9516, 3.4677)
Luminance0.1695 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8016 #4C1680
analogous
#7F8016 #4A8016 #168017
triadic
#4A8016 #164A80 #80164A
tetradic
#4A8016 #167F80 #4C1680 #801716
square
#4A8016 #167F80 #4C1680 #801716
split-complementary
#4A8016 #171680 #80167F
monochromatic
#0F1A04 #2C4C0D #4A8016 #68B41F #87DC34

Accessibility & contrast

On white

4.78
#4A8016 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#4A8016 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A8016
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A8016#FFFFFF#000000##FFFFFF
##4A80161.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7E7122
Tritanopia (blue-blind)
#4A7B6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4a8016;
/* rgb */ color: rgb(74, 128, 22);
/* oklch */ color: oklch(54.2% 0.144 133.7);
Tailwind
colors: {
  custom: {
    50: '#82a55e',
    500: '#4a8016',
    950: '#000000',
  },
}
SCSS
$custom: #4a8016;
$custom-light: #82a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8016",
  "rgb": {
    "r": 74,
    "g": 128,
    "b": 22
  },
  "hsl": {
    "h": 90.566,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.54163,
    "c": 0.14422,
    "h": 133.7
  },
  "luminance": 0.16952
}

Semantic roles & 50–950 ramp

primary
#4A8016
secondary
#7A3DB5
accent
#3AED96
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4A8016

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

Preview Lab → · Contrast checker → · Palette generator →

#4A8016 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva