#4C8C16#4C8C16

#4C8C16 is a mid, vivid yellow-green. Relative luminance 0.204; OKLCH L 57.5% C 0.158 H 134.9°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#4C8C16
RGBrgb(76, 140, 22)
HSLhsl(93, 73%, 32%)
HSVhsv(93, 84%, 55%)
CMYKcmyk(45.7%, 0%, 84.3%, 45.1%)
CIE-LABlab(52.23, -39.81, 51.00)
CIE-LCHlch(52.23, 64.69, 127.97°)
OKLaboklab(57.5% -0.1116 0.1121)
OKLCHoklch(57.5% 0.158 134.9)
XYZxyz(12.5031, 20.3498, 4.0280)
Luminance0.2035 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8C16 #56168C
analogous
#878C16 #4C8C16 #168C1B
triadic
#4C8C16 #164C8C #8C164C
tetradic
#4C8C16 #16878C #56168C #8C1B16
square
#4C8C16 #16878C #56168C #8C1B16
split-complementary
#4C8C16 #1B168C #8C1687
monochromatic
#132205 #2F570E #4C8C16 #69C11E #87E03C

Accessibility & contrast

On white

4.14
#4C8C16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#4C8C16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8C16
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8C16#FFFFFF#000000##000000
##4C8C161.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#897B25
Tritanopia (blue-blind)
#4A8677
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4c8c16;
/* rgb */ color: rgb(76, 140, 22);
/* oklch */ color: oklch(57.5% 0.158 134.9);
Tailwind
colors: {
  custom: {
    50: '#85ae60',
    500: '#4c8c16',
    950: '#000000',
  },
}
SCSS
$custom: #4c8c16;
$custom-light: #85ae60;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8c16",
  "rgb": {
    "r": 76,
    "g": 140,
    "b": 22
  },
  "hsl": {
    "h": 92.542,
    "s": 72.84,
    "l": 31.765
  },
  "oklch": {
    "l": 0.57495,
    "c": 0.15816,
    "h": 134.9
  },
  "luminance": 0.20351
}

Semantic roles & 50–950 ramp

primary
#4C8C16
secondary
#843EC0
accent
#38F09C
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #4C8C16

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

Preview Lab → · Contrast checker → · Palette generator →

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