#4B8016#4B8016

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

Color values

HEX#4B8016
RGBrgb(75, 128, 22)
HSLhsl(90, 71%, 29%)
HSVhsv(90, 83%, 50%)
CMYKcmyk(41.4%, 0%, 82.8%, 49.8%)
CIE-LABlab(48.25, -35.02, 47.36)
CIE-LCHlch(48.25, 58.90, 126.48°)
OKLaboklab(54.22% -0.0987 0.1044)
OKLCHoklch(54.22% 0.144 133.4)
XYZxyz(10.7655, 16.9916, 3.4714)
Luminance0.1699 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B8016 #4B1680
analogous
#808016 #4B8016 #168016
triadic
#4B8016 #164B80 #80164B
tetradic
#4B8016 #168080 #4B1680 #801616
square
#4B8016 #168080 #4B1680 #801616
split-complementary
#4B8016 #161680 #801680
monochromatic
#0F1A04 #2C4C0D #4B8016 #6AB41F #88DC34

Accessibility & contrast

On white

4.77
#4B8016 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#4B8016 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B8016
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B8016#FFFFFF#000000##FFFFFF
##4B80161.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b8016;
/* rgb */ color: rgb(75, 128, 22);
/* oklch */ color: oklch(54.2% 0.144 133.4);
Tailwind
colors: {
  custom: {
    50: '#83a55e',
    500: '#4b8016',
    950: '#000000',
  },
}
SCSS
$custom: #4b8016;
$custom-light: #83a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#4b8016",
  "rgb": {
    "r": 75,
    "g": 128,
    "b": 22
  },
  "hsl": {
    "h": 90,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.54218,
    "c": 0.14368,
    "h": 133.4
  },
  "luminance": 0.16992
}

Semantic roles & 50–950 ramp

primary
#4B8016
secondary
#793DB5
accent
#3AED94
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4B8016

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

Preview Lab → · Contrast checker → · Palette generator →

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