#4D540D#4D540D

#4D540D is a dark, moderate yellow. Relative luminance 0.079; OKLCH L 42.6% C 0.090 H 115.4°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#4D540D
RGBrgb(77, 84, 13)
HSLhsl(66, 73%, 19%)
HSVhsv(66, 85%, 33%)
CMYKcmyk(8.3%, 0%, 84.5%, 67.1%)
CIE-LABlab(33.87, -12.58, 37.18)
CIE-LCHlch(33.87, 39.25, 108.70°)
OKLaboklab(42.56% -0.0385 0.0812)
OKLCHoklch(42.56% 0.09 115.4)
XYZxyz(6.3037, 7.9476, 1.5827)
Luminance0.0795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D540D #140D54
analogous
#54380D #4D540D #2A540D
triadic
#4D540D #0D4D54 #540D4D
tetradic
#4D540D #0D5438 #140D54 #540D2A
square
#4D540D #0D5438 #140D54 #540D2A
split-complementary
#4D540D #0D2A54 #380D54
monochromatic
#181A04 #1C1F05 #4D540D #7E8915 #AEBE1D

Accessibility & contrast

On white

8.11
#4D540D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#4D540D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D540D
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D540D#FFFFFF#000000##FFFFFF
##4D540D1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B4F00
Deuteranopia (green-blind)
#5A5014
Tritanopia (blue-blind)
#534F47
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4d540d;
/* rgb */ color: rgb(77, 84, 13);
/* oklch */ color: oklch(42.6% 0.090 115.4);
Tailwind
colors: {
  custom: {
    50: '#818453',
    500: '#4d540d',
    950: '#000000',
  },
}
SCSS
$custom: #4d540d;
$custom-light: #818453;
$custom-dark: #000000;
JSON
{
  "hex": "#4d540d",
  "rgb": {
    "r": 77,
    "g": 84,
    "b": 13
  },
  "hsl": {
    "h": 65.915,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.42564,
    "c": 0.08991,
    "h": 115.4
  },
  "luminance": 0.07947
}

Semantic roles & 50–950 ramp

primary
#4D540D
secondary
#382E8F
accent
#38F04A
background
#F8F8F4
surface
#EFEFE7
border
#CACAC3
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4D540D

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

Preview Lab → · Contrast checker → · Palette generator →

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