#4C8B16#4C8B16

#4C8B16 is a mid, vivid yellow-green. Relative luminance 0.201; OKLCH L 57.2% C 0.157 H 134.8°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#4C8B16
RGBrgb(76, 139, 22)
HSLhsl(92, 73%, 32%)
HSVhsv(92, 84%, 55%)
CMYKcmyk(45.3%, 0%, 84.2%, 45.5%)
CIE-LABlab(51.90, -39.39, 50.70)
CIE-LCHlch(51.90, 64.20, 127.84°)
OKLaboklab(57.23% -0.1105 0.1114)
OKLCHoklch(57.23% 0.157 134.8)
XYZxyz(12.3577, 20.0589, 3.9795)
Luminance0.2006 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8B16 #55168B
analogous
#878B16 #4C8B16 #168B1B
triadic
#4C8B16 #164C8B #8B164C
tetradic
#4C8B16 #16878B #55168B #8B1B16
square
#4C8B16 #16878B #55168B #8B1B16
split-complementary
#4C8B16 #1B168B #8B1687
monochromatic
#122105 #2F560E #4C8B16 #69C01E #87E03B

Accessibility & contrast

On white

4.19
#4C8B16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#4C8B16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8B16
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8B16#FFFFFF#000000##000000
##4C8B161.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#887A24
Tritanopia (blue-blind)
#4B8576
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4c8b16;
/* rgb */ color: rgb(76, 139, 22);
/* oklch */ color: oklch(57.2% 0.157 134.8);
Tailwind
colors: {
  custom: {
    50: '#84ad5f',
    500: '#4c8b16',
    950: '#000000',
  },
}
SCSS
$custom: #4c8b16;
$custom-light: #84ad5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8b16",
  "rgb": {
    "r": 76,
    "g": 139,
    "b": 22
  },
  "hsl": {
    "h": 92.308,
    "s": 72.671,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57227,
    "c": 0.15693,
    "h": 134.8
  },
  "luminance": 0.2006
}

Semantic roles & 50–950 ramp

primary
#4C8B16
secondary
#833EBF
accent
#38EF9B
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #4C8B16

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

Preview Lab → · Contrast checker → · Palette generator →

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