#4C7716#4C7716

#4C7716 is a mid, vivid yellow-green. Relative luminance 0.148; OKLCH L 51.9% C 0.131 H 131.3°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#4C7716
RGBrgb(76, 119, 22)
HSLhsl(87, 69%, 28%)
HSVhsv(87, 82%, 47%)
CMYKcmyk(36.1%, 0%, 81.5%, 53.3%)
CIE-LABlab(45.34, -30.57, 44.69)
CIE-LCHlch(45.34, 54.14, 124.38°)
OKLaboklab(51.86% -0.0868 0.0988)
OKLCHoklch(51.86% 0.131 131.3)
XYZxyz(9.7221, 14.7877, 3.1010)
Luminance0.1479 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7716 #411677
analogous
#777116 #4C7716 #1C7716
triadic
#4C7716 #164C77 #77164C
tetradic
#4C7716 #167771 #411677 #77161C
square
#4C7716 #167771 #411677 #77161C
split-complementary
#4C7716 #161C77 #711677
monochromatic
#101A05 #2B430C #4C7716 #6DAB20 #8DD92F

Accessibility & contrast

On white

5.31
#4C7716 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#4C7716 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C7716
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7716#FFFFFF#000000##FFFFFF
##4C77161.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6D00
Deuteranopia (green-blind)
#776A21
Tritanopia (blue-blind)
#4D7265
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4c7716;
/* rgb */ color: rgb(76, 119, 22);
/* oklch */ color: oklch(51.9% 0.131 131.3);
Tailwind
colors: {
  custom: {
    50: '#829e5c',
    500: '#4c7716',
    950: '#000000',
  },
}
SCSS
$custom: #4c7716;
$custom-light: #829e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7716",
  "rgb": {
    "r": 76,
    "g": 119,
    "b": 22
  },
  "hsl": {
    "h": 86.598,
    "s": 68.794,
    "l": 27.647
  },
  "oklch": {
    "l": 0.51855,
    "c": 0.13148,
    "h": 131.3
  },
  "luminance": 0.14788
}

Semantic roles & 50–950 ramp

primary
#4C7716
secondary
#6E3CAC
accent
#3CEC8A
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4C7716

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

Preview Lab → · Contrast checker → · Palette generator →

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