#4C5313#4C5313

#4C5313 is a dark, moderate yellow. Relative luminance 0.078; OKLCH L 42.3% C 0.085 H 115.6°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#4C5313
RGBrgb(76, 83, 19)
HSLhsl(67, 63%, 20%)
HSVhsv(67, 77%, 33%)
CMYKcmyk(8.4%, 0%, 77.1%, 67.5%)
CIE-LABlab(33.50, -12.18, 34.49)
CIE-LCHlch(33.50, 36.58, 109.45°)
OKLaboklab(42.25% -0.0368 0.0768)
OKLCHoklch(42.25% 0.085 115.6)
XYZxyz(6.1915, 7.7701, 1.7896)
Luminance0.0777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5313 #1A1353
analogous
#533A13 #4C5313 #2C5313
triadic
#4C5313 #134C53 #53134C
tetradic
#4C5313 #13533A #1A1353 #53132C
square
#4C5313 #13533A #1A1353 #53132C
split-complementary
#4C5313 #132C53 #3A1353
monochromatic
#171906 #1E2108 #4C5313 #7A851E #A7B72A

Accessibility & contrast

On white

8.22
#4C5313 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#4C5313 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C5313
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5313#FFFFFF#000000##FFFFFF
##4C53131.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E08
Deuteranopia (green-blind)
#594F18
Tritanopia (blue-blind)
#514E47
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4c5313;
/* rgb */ color: rgb(76, 83, 19);
/* oklch */ color: oklch(42.3% 0.085 115.6);
Tailwind
colors: {
  custom: {
    50: '#808356',
    500: '#4c5313',
    950: '#000000',
  },
}
SCSS
$custom: #4c5313;
$custom-light: #808356;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5313",
  "rgb": {
    "r": 76,
    "g": 83,
    "b": 19
  },
  "hsl": {
    "h": 66.563,
    "s": 62.745,
    "l": 20
  },
  "oklch": {
    "l": 0.42254,
    "c": 0.08514,
    "h": 115.6
  },
  "luminance": 0.0777
}

Semantic roles & 50–950 ramp

primary
#4C5313
secondary
#40368B
accent
#42E654
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4C5313

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

Preview Lab → · Contrast checker → · Palette generator →

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