#4C510D#4C510D

#4C510D is a dark, moderate yellow. Relative luminance 0.074; OKLCH L 41.7% C 0.087 H 113.9°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#4C510D
RGBrgb(76, 81, 13)
HSLhsl(64, 72%, 18%)
HSVhsv(64, 84%, 32%)
CMYKcmyk(6.2%, 0%, 84%, 68.2%)
CIE-LABlab(32.81, -11.35, 36.18)
CIE-LCHlch(32.81, 37.92, 107.42°)
OKLaboklab(41.69% -0.0351 0.0792)
OKLCHoklch(41.69% 0.087 113.9)
XYZxyz(5.9958, 7.4505, 1.5029)
Luminance0.0745 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C510D #120D51
analogous
#51340D #4C510D #2A510D
triadic
#4C510D #0D4C51 #510D4C
tetradic
#4C510D #0D5134 #120D51 #510D2A
square
#4C510D #0D5134 #120D51 #510D2A
split-complementary
#4C510D #0D2A51 #340D51
monochromatic
#191A04 #1B1C05 #4C510D #7D8615 #AFBA1E

Accessibility & contrast

On white

8.43
#4C510D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C510D
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C510D#FFFFFF#000000##FFFFFF
##4C510D1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D00
Deuteranopia (green-blind)
#584E13
Tritanopia (blue-blind)
#524C44
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4c510d;
/* rgb */ color: rgb(76, 81, 13);
/* oklch */ color: oklch(41.7% 0.087 113.9);
Tailwind
colors: {
  custom: {
    50: '#818152',
    500: '#4c510d',
    950: '#000000',
  },
}
SCSS
$custom: #4c510d;
$custom-light: #818152;
$custom-dark: #000000;
JSON
{
  "hex": "#4c510d",
  "rgb": {
    "r": 76,
    "g": 81,
    "b": 13
  },
  "hsl": {
    "h": 64.412,
    "s": 72.34,
    "l": 18.431
  },
  "oklch": {
    "l": 0.4169,
    "c": 0.08658,
    "h": 113.9
  },
  "luminance": 0.0745
}

Semantic roles & 50–950 ramp

primary
#4C510D
secondary
#352E8C
accent
#39EF46
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0A02
muted
#7C7C78

Preview Lab

Preview with #4C510D

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

Preview Lab → · Contrast checker → · Palette generator →

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