#4C500D#4C500D

#4C500D is a dark, moderate yellow. Relative luminance 0.073; OKLCH L 41.4% C 0.085 H 113.1°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#4C500D
RGBrgb(76, 80, 13)
HSLhsl(64, 72%, 18%)
HSVhsv(64, 84%, 31%)
CMYKcmyk(5%, 0%, 83.7%, 68.6%)
CIE-LABlab(32.49, -10.78, 35.88)
CIE-LCHlch(32.49, 37.47, 106.71°)
OKLaboklab(41.43% -0.0335 0.0785)
OKLCHoklch(41.43% 0.085 113.1)
XYZxyz(5.9220, 7.3030, 1.4784)
Luminance0.0730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C500D #110D50
analogous
#50320D #4C500D #2A500D
triadic
#4C500D #0D4C50 #500D4C
tetradic
#4C500D #0D5032 #110D50 #500D2A
square
#4C500D #0D5032 #110D50 #500D2A
split-complementary
#4C500D #0D2A50 #320D50
monochromatic
#191A04 #1A1B04 #4C500D #7E8516 #B0B91E

Accessibility & contrast

On white

8.53
#4C500D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#4C500D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C500D
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C500D#FFFFFF#000000##FFFFFF
##4C500D1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C00
Deuteranopia (green-blind)
#574D13
Tritanopia (blue-blind)
#524B44
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4c500d;
/* rgb */ color: rgb(76, 80, 13);
/* oklch */ color: oklch(41.4% 0.085 113.1);
Tailwind
colors: {
  custom: {
    50: '#818052',
    500: '#4c500d',
    950: '#000000',
  },
}
SCSS
$custom: #4c500d;
$custom-light: #818052;
$custom-dark: #000000;
JSON
{
  "hex": "#4c500d",
  "rgb": {
    "r": 76,
    "g": 80,
    "b": 13
  },
  "hsl": {
    "h": 63.582,
    "s": 72.043,
    "l": 18.235
  },
  "oklch": {
    "l": 0.4143,
    "c": 0.08537,
    "h": 113.1
  },
  "luminance": 0.07303
}

Semantic roles & 50–950 ramp

primary
#4C500D
secondary
#332E8B
accent
#39EF44
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0A02
muted
#7C7C78

Preview Lab

Preview with #4C500D

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

Preview Lab → · Contrast checker → · Palette generator →

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