#4C7316#4C7316

#4C7316 is a mid, vivid yellow-green. Relative luminance 0.139; OKLCH L 50.8% C 0.126 H 130.4°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#4C7316
RGBrgb(76, 115, 22)
HSLhsl(85, 68%, 27%)
HSVhsv(85, 81%, 45%)
CMYKcmyk(33.9%, 0%, 80.9%, 54.9%)
CIE-LABlab(44.03, -28.69, 43.45)
CIE-LCHlch(44.03, 52.07, 123.44°)
OKLaboklab(50.78% -0.0817 0.0962)
OKLCHoklch(50.78% 0.126 130.4)
XYZxyz(9.2560, 13.8556, 2.9456)
Luminance0.1386 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7316 #3D1673
analogous
#736C16 #4C7316 #1E7316
triadic
#4C7316 #164C73 #73164C
tetradic
#4C7316 #16736C #3D1673 #73161E
square
#4C7316 #16736C #3D1673 #73161E
split-complementary
#4C7316 #161E73 #6C1673
monochromatic
#111A05 #2A400C #4C7316 #6EA620 #8FD72D

Accessibility & contrast

On white

5.57
#4C7316 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#4C7316 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C7316
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7316#FFFFFF#000000##FFFFFF
##4C73161.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#736720
Tritanopia (blue-blind)
#4E6E62
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4c7316;
/* rgb */ color: rgb(76, 115, 22);
/* oklch */ color: oklch(50.8% 0.126 130.4);
Tailwind
colors: {
  custom: {
    50: '#829b5c',
    500: '#4c7316',
    950: '#000000',
  },
}
SCSS
$custom: #4c7316;
$custom-light: #829b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7316",
  "rgb": {
    "r": 76,
    "g": 115,
    "b": 22
  },
  "hsl": {
    "h": 85.161,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.5078,
    "c": 0.1262,
    "h": 130.4
  },
  "luminance": 0.13856
}

Semantic roles & 50–950 ramp

primary
#4C7316
secondary
#6A3CA9
accent
#3DEB86
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4C7316

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

Preview Lab → · Contrast checker → · Palette generator →

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