#4C5113#4C5113

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

Color values

HEX#4C5113
RGBrgb(76, 81, 19)
HSLhsl(65, 62%, 20%)
HSVhsv(65, 77%, 32%)
CMYKcmyk(6.2%, 0%, 76.5%, 68.2%)
CIE-LABlab(32.85, -11.03, 33.86)
CIE-LCHlch(32.85, 35.61, 108.04°)
OKLaboklab(41.73% -0.0336 0.0755)
OKLCHoklch(41.73% 0.083 114)
XYZxyz(6.0406, 7.4685, 1.7393)
Luminance0.0747 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5113 #181351
analogous
#513713 #4C5113 #2D5113
triadic
#4C5113 #134C51 #51134C
tetradic
#4C5113 #135137 #181351 #51132D
square
#4C5113 #135137 #181351 #51132D
split-complementary
#4C5113 #132D51 #371351
monochromatic
#171906 #1D1F07 #4C5113 #7B831F #A9B42A

Accessibility & contrast

On white

8.42
#4C5113 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#4C5113 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C5113
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5113#FFFFFF#000000##FFFFFF
##4C51131.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c5113;
/* rgb */ color: rgb(76, 81, 19);
/* oklch */ color: oklch(41.7% 0.083 114.0);
Tailwind
colors: {
  custom: {
    50: '#808155',
    500: '#4c5113',
    950: '#000000',
  },
}
SCSS
$custom: #4c5113;
$custom-light: #808155;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5113",
  "rgb": {
    "r": 76,
    "g": 81,
    "b": 19
  },
  "hsl": {
    "h": 64.839,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.41734,
    "c": 0.08258,
    "h": 114
  },
  "luminance": 0.07468
}

Semantic roles & 50–950 ramp

primary
#4C5113
secondary
#3D368A
accent
#43E550
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4C5113

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

Preview Lab → · Contrast checker → · Palette generator →

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