#4C7416#4C7416

#4C7416 is a mid, vivid yellow-green. Relative luminance 0.141; OKLCH L 51.0% C 0.128 H 130.6°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#4C7416
RGBrgb(76, 116, 22)
HSLhsl(86, 68%, 27%)
HSVhsv(86, 81%, 45%)
CMYKcmyk(34.5%, 0%, 81%, 54.5%)
CIE-LABlab(44.35, -29.17, 43.76)
CIE-LCHlch(44.35, 52.59, 123.68°)
OKLaboklab(51.05% -0.083 0.0968)
OKLCHoklch(51.05% 0.128 130.6)
XYZxyz(9.3706, 14.0849, 2.9838)
Luminance0.1409 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7416 #3E1674
analogous
#746D16 #4C7416 #1D7416
triadic
#4C7416 #164C74 #74164C
tetradic
#4C7416 #16746D #3E1674 #74161D
square
#4C7416 #16746D #3E1674 #74161D
split-complementary
#4C7416 #161D74 #6D1674
monochromatic
#111A05 #2A410C #4C7416 #6EA720 #8FD72D

Accessibility & contrast

On white

5.50
#4C7416 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#4C7416 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C7416
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7416#FFFFFF#000000##FFFFFF
##4C74161.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#746820
Tritanopia (blue-blind)
#4E6F63
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4c7416;
/* rgb */ color: rgb(76, 116, 22);
/* oklch */ color: oklch(51.0% 0.128 130.6);
Tailwind
colors: {
  custom: {
    50: '#829c5c',
    500: '#4c7416',
    950: '#000000',
  },
}
SCSS
$custom: #4c7416;
$custom-light: #829c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7416",
  "rgb": {
    "r": 76,
    "g": 116,
    "b": 22
  },
  "hsl": {
    "h": 85.532,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.51049,
    "c": 0.12752,
    "h": 130.6
  },
  "luminance": 0.14085
}

Semantic roles & 50–950 ramp

primary
#4C7416
secondary
#6B3CAA
accent
#3DEB87
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4C7416

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

Preview Lab → · Contrast checker → · Palette generator →

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