#4C8D16#4C8D16

#4C8D16 is a mid, vivid yellow-green. Relative luminance 0.206; OKLCH L 57.8% C 0.159 H 135.0°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#4C8D16
RGBrgb(76, 141, 22)
HSLhsl(93, 73%, 32%)
HSVhsv(93, 84%, 55%)
CMYKcmyk(46.1%, 0%, 84.4%, 44.7%)
CIE-LABlab(52.56, -40.22, 51.29)
CIE-LCHlch(52.56, 65.18, 128.10°)
OKLaboklab(57.76% -0.1127 0.1127)
OKLCHoklch(57.76% 0.159 135)
XYZxyz(12.6499, 20.6434, 4.0769)
Luminance0.2064 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8D16 #57168D
analogous
#888D16 #4C8D16 #168D1C
triadic
#4C8D16 #164C8D #8D164C
tetradic
#4C8D16 #16888D #57168D #8D1C16
square
#4C8D16 #16888D #57168D #8D1C16
split-complementary
#4C8D16 #1C168D #8D1688
monochromatic
#132305 #2F580E #4C8D16 #69C21E #87E13D

Accessibility & contrast

On white

4.09
#4C8D16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#4C8D16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8D16
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8D16#FFFFFF#000000##000000
##4C8D161.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#8A7B25
Tritanopia (blue-blind)
#4A8778
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4c8d16;
/* rgb */ color: rgb(76, 141, 22);
/* oklch */ color: oklch(57.8% 0.159 135.0);
Tailwind
colors: {
  custom: {
    50: '#85af60',
    500: '#4c8d16',
    950: '#000000',
  },
}
SCSS
$custom: #4c8d16;
$custom-light: #85af60;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8d16",
  "rgb": {
    "r": 76,
    "g": 141,
    "b": 22
  },
  "hsl": {
    "h": 92.773,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57764,
    "c": 0.15938,
    "h": 135
  },
  "luminance": 0.20644
}

Semantic roles & 50–950 ramp

primary
#4C8D16
secondary
#853EC1
accent
#38F09C
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #4C8D16

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

Preview Lab → · Contrast checker → · Palette generator →

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