#4C5116#4C5116

#4C5116 is a dark, moderate yellow. Relative luminance 0.075; OKLCH L 41.8% C 0.080 H 114.0°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#4C5116
RGBrgb(76, 81, 22)
HSLhsl(65, 57%, 20%)
HSVhsv(65, 73%, 32%)
CMYKcmyk(6.2%, 0%, 72.8%, 68.2%)
CIE-LABlab(32.87, -10.83, 32.55)
CIE-LCHlch(32.87, 34.30, 108.41°)
OKLaboklab(41.76% -0.0327 0.0733)
OKLCHoklch(41.76% 0.08 114)
XYZxyz(6.0679, 7.4794, 1.8829)
Luminance0.0748 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5116 #1B1651
analogous
#513916 #4C5116 #2E5116
triadic
#4C5116 #164C51 #51164C
tetradic
#4C5116 #165139 #1B1651 #51162E
square
#4C5116 #165139 #1B1651 #51162E
split-complementary
#4C5116 #162E51 #391651
monochromatic
#171807 #1F2109 #4C5116 #798123 #A6B130

Accessibility & contrast

On white

8.41
#4C5116 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#4C5116 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C5116
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5116#FFFFFF#000000##FFFFFF
##4C51161.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D0D
Deuteranopia (green-blind)
#574E1A
Tritanopia (blue-blind)
#514C45
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4c5116;
/* rgb */ color: rgb(76, 81, 22);
/* oklch */ color: oklch(41.8% 0.080 114.0);
Tailwind
colors: {
  custom: {
    50: '#808157',
    500: '#4c5116',
    950: '#000000',
  },
}
SCSS
$custom: #4c5116;
$custom-light: #808157;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5116",
  "rgb": {
    "r": 76,
    "g": 81,
    "b": 22
  },
  "hsl": {
    "h": 65.085,
    "s": 57.282,
    "l": 20.196
  },
  "oklch": {
    "l": 0.4176,
    "c": 0.08021,
    "h": 114
  },
  "luminance": 0.07479
}

Semantic roles & 50–950 ramp

primary
#4C5116
secondary
#413A88
accent
#47E154
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4C5116

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

Preview Lab → · Contrast checker → · Palette generator →

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