#4C7116#4C7116

#4C7116 is a mid, vivid yellow-green. Relative luminance 0.134; OKLCH L 50.2% C 0.124 H 129.8°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#4C7116
RGBrgb(76, 113, 22)
HSLhsl(84, 67%, 26%)
HSVhsv(84, 81%, 44%)
CMYKcmyk(32.7%, 0%, 80.5%, 55.7%)
CIE-LABlab(43.37, -27.74, 42.83)
CIE-LCHlch(43.37, 51.03, 122.93°)
OKLaboklab(50.24% -0.0791 0.0949)
OKLCHoklch(50.24% 0.124 129.8)
XYZxyz(9.0304, 13.4044, 2.8704)
Luminance0.1341 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7116 #3B1671
analogous
#716916 #4C7116 #1F7116
triadic
#4C7116 #164C71 #71164C
tetradic
#4C7116 #167169 #3B1671 #71161F
square
#4C7116 #167169 #3B1671 #71161F
split-complementary
#4C7116 #161F71 #691671
monochromatic
#111A05 #2A3E0C #4C7116 #6EA420 #91D62C

Accessibility & contrast

On white

5.70
#4C7116 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#4C7116 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C7116
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7116#FFFFFF#000000##FFFFFF
##4C71161.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776801
Deuteranopia (green-blind)
#72661F
Tritanopia (blue-blind)
#4E6C60
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4c7116;
/* rgb */ color: rgb(76, 113, 22);
/* oklch */ color: oklch(50.2% 0.124 129.8);
Tailwind
colors: {
  custom: {
    50: '#829a5b',
    500: '#4c7116',
    950: '#000000',
  },
}
SCSS
$custom: #4c7116;
$custom-light: #829a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7116",
  "rgb": {
    "r": 76,
    "g": 113,
    "b": 22
  },
  "hsl": {
    "h": 84.396,
    "s": 67.407,
    "l": 26.471
  },
  "oklch": {
    "l": 0.50244,
    "c": 0.12353,
    "h": 129.8
  },
  "luminance": 0.13405
}

Semantic roles & 50–950 ramp

primary
#4C7116
secondary
#673CA7
accent
#3EEA84
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4C7116

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

Preview Lab → · Contrast checker → · Palette generator →

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