#4D5311#4D5311

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

Color values

HEX#4D5311
RGBrgb(77, 83, 17)
HSLhsl(65, 66%, 20%)
HSVhsv(65, 80%, 33%)
CMYKcmyk(7.2%, 0%, 79.5%, 67.5%)
CIE-LABlab(33.57, -11.81, 35.41)
CIE-LCHlch(33.57, 37.33, 108.44°)
OKLaboklab(42.33% -0.036 0.0783)
OKLCHoklch(42.33% 0.086 114.7)
XYZxyz(6.2552, 7.8049, 1.7072)
Luminance0.0780 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5311 #171153
analogous
#533811 #4D5311 #2C5311
triadic
#4D5311 #114D53 #53114D
tetradic
#4D5311 #115338 #171153 #53112C
square
#4D5311 #115338 #171153 #53112C
split-complementary
#4D5311 #112C53 #381153
monochromatic
#181905 #1E2007 #4D5311 #7C861B #ABB926

Accessibility & contrast

On white

8.20
#4D5311 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#4D5311 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D5311
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5311#FFFFFF#000000##FFFFFF
##4D53111.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4E05
Deuteranopia (green-blind)
#595016
Tritanopia (blue-blind)
#534E46
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4d5311;
/* rgb */ color: rgb(77, 83, 17);
/* oklch */ color: oklch(42.3% 0.086 114.7);
Tailwind
colors: {
  custom: {
    50: '#818355',
    500: '#4d5311',
    950: '#000000',
  },
}
SCSS
$custom: #4d5311;
$custom-light: #818355;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5311",
  "rgb": {
    "r": 77,
    "g": 83,
    "b": 17
  },
  "hsl": {
    "h": 65.455,
    "s": 66,
    "l": 19.608
  },
  "oklch": {
    "l": 0.42331,
    "c": 0.08619,
    "h": 114.7
  },
  "luminance": 0.07805
}

Semantic roles & 50–950 ramp

primary
#4D5311
secondary
#3C348C
accent
#3FE94E
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4D5311

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

Preview Lab → · Contrast checker → · Palette generator →

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