#4C8116#4C8116

#4C8116 is a mid, vivid yellow-green. Relative luminance 0.173; OKLCH L 54.5% C 0.144 H 133.3°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#4C8116
RGBrgb(76, 129, 22)
HSLhsl(90, 71%, 30%)
HSVhsv(90, 83%, 51%)
CMYKcmyk(41.1%, 0%, 82.9%, 49.4%)
CIE-LABlab(48.63, -35.09, 47.72)
CIE-LCHlch(48.63, 59.24, 126.33°)
OKLaboklab(54.54% -0.099 0.1052)
OKLCHoklch(54.54% 0.144 133.3)
XYZxyz(10.9754, 17.2944, 3.5188)
Luminance0.1729 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8116 #4B1681
analogous
#818116 #4C8116 #168116
triadic
#4C8116 #164C81 #81164C
tetradic
#4C8116 #168181 #4B1681 #811616
square
#4C8116 #168181 #4B1681 #811616
split-complementary
#4C8116 #161681 #811681
monochromatic
#0F1A04 #2D4D0D #4C8116 #6BB51F #89DD35

Accessibility & contrast

On white

4.71
#4C8116 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#4C8116 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C8116
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8116#FFFFFF#000000##FFFFFF
##4C81161.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#7F7222
Tritanopia (blue-blind)
#4C7C6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4c8116;
/* rgb */ color: rgb(76, 129, 22);
/* oklch */ color: oklch(54.5% 0.144 133.3);
Tailwind
colors: {
  custom: {
    50: '#83a65e',
    500: '#4c8116',
    950: '#000000',
  },
}
SCSS
$custom: #4c8116;
$custom-light: #83a65e;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8116",
  "rgb": {
    "r": 76,
    "g": 129,
    "b": 22
  },
  "hsl": {
    "h": 89.72,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.54542,
    "c": 0.14441,
    "h": 133.3
  },
  "luminance": 0.17295
}

Semantic roles & 50–950 ramp

primary
#4C8116
secondary
#793DB6
accent
#3AEE93
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4C8116

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

Preview Lab → · Contrast checker → · Palette generator →

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