#4C520D#4C520D

#4C520D is a dark, moderate yellow. Relative luminance 0.076; OKLCH L 41.9% C 0.088 H 114.7°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#4C520D
RGBrgb(76, 82, 13)
HSLhsl(65, 73%, 19%)
HSVhsv(65, 84%, 32%)
CMYKcmyk(7.3%, 0%, 84.1%, 67.8%)
CIE-LABlab(33.14, -11.93, 36.48)
CIE-LCHlch(33.14, 38.38, 108.11°)
OKLaboklab(41.95% -0.0367 0.0798)
OKLCHoklch(41.95% 0.088 114.7)
XYZxyz(6.0706, 7.6003, 1.5279)
Luminance0.0760 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C520D #130D52
analogous
#52350D #4C520D #29520D
triadic
#4C520D #0D4C52 #520D4C
tetradic
#4C520D #0D5235 #130D52 #520D29
square
#4C520D #0D5235 #130D52 #520D29
split-complementary
#4C520D #0D2952 #350D52
monochromatic
#181A04 #1B1D05 #4C520D #7D8715 #AEBC1E

Accessibility & contrast

On white

8.33
#4C520D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#4C520D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C520D
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C520D#FFFFFF#000000##FFFFFF
##4C520D1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594D00
Deuteranopia (green-blind)
#584E13
Tritanopia (blue-blind)
#524D45
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4c520d;
/* rgb */ color: rgb(76, 82, 13);
/* oklch */ color: oklch(41.9% 0.088 114.7);
Tailwind
colors: {
  custom: {
    50: '#818253',
    500: '#4c520d',
    950: '#000000',
  },
}
SCSS
$custom: #4c520d;
$custom-light: #818253;
$custom-dark: #000000;
JSON
{
  "hex": "#4c520d",
  "rgb": {
    "r": 76,
    "g": 82,
    "b": 13
  },
  "hsl": {
    "h": 65.217,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.4195,
    "c": 0.08781,
    "h": 114.7
  },
  "luminance": 0.076
}

Semantic roles & 50–950 ramp

primary
#4C520D
secondary
#362E8D
accent
#38EF48
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4C520D

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

Preview Lab → · Contrast checker → · Palette generator →

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