#4C7016#4C7016

#4C7016 is a mid, vivid yellow-green. Relative luminance 0.132; OKLCH L 50.0% C 0.122 H 129.6°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#4C7016
RGBrgb(76, 112, 22)
HSLhsl(84, 67%, 26%)
HSVhsv(84, 80%, 44%)
CMYKcmyk(32.1%, 0%, 80.4%, 56.1%)
CIE-LABlab(43.04, -27.25, 42.52)
CIE-LCHlch(43.04, 50.51, 122.66°)
OKLaboklab(49.98% -0.0778 0.0942)
OKLCHoklch(49.98% 0.122 129.6)
XYZxyz(8.9195, 13.1825, 2.8334)
Luminance0.1318 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7016 #3A1670
analogous
#706716 #4C7016 #1F7016
triadic
#4C7016 #164C70 #70164C
tetradic
#4C7016 #167067 #3A1670 #70161F
square
#4C7016 #167067 #3A1670 #70161F
split-complementary
#4C7016 #161F70 #671670
monochromatic
#111A05 #293D0C #4C7016 #6FA320 #91D52B

Accessibility & contrast

On white

5.77
#4C7016 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#4C7016 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C7016
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7016#FFFFFF#000000##FFFFFF
##4C70161.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766701
Deuteranopia (green-blind)
#71651F
Tritanopia (blue-blind)
#4E6B5F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4c7016;
/* rgb */ color: rgb(76, 112, 22);
/* oklch */ color: oklch(50.0% 0.122 129.6);
Tailwind
colors: {
  custom: {
    50: '#82995b',
    500: '#4c7016',
    950: '#000000',
  },
}
SCSS
$custom: #4c7016;
$custom-light: #82995b;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7016",
  "rgb": {
    "r": 76,
    "g": 112,
    "b": 22
  },
  "hsl": {
    "h": 84,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.49975,
    "c": 0.1222,
    "h": 129.6
  },
  "luminance": 0.13183
}

Semantic roles & 50–950 ramp

primary
#4C7016
secondary
#663CA6
accent
#3EEA83
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4C7016

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

Preview Lab → · Contrast checker → · Palette generator →

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