#4D511F#4D511F

#4D511F is a dark, moderate yellow. Relative luminance 0.076; OKLCH L 42.0% C 0.071 H 113.3°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#4D511F
RGBrgb(77, 81, 31)
HSLhsl(65, 45%, 22%)
HSVhsv(65, 62%, 32%)
CMYKcmyk(4.9%, 0%, 61.7%, 68.2%)
CIE-LABlab(33.05, -9.62, 28.29)
CIE-LCHlch(33.05, 29.88, 108.77°)
OKLaboklab(41.95% -0.0282 0.0657)
OKLCHoklch(41.95% 0.071 113.3)
XYZxyz(6.2505, 7.5617, 2.4263)
Luminance0.0756 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D511F #231F51
analogous
#513C1F #4D511F #34511F
triadic
#4D511F #1F4D51 #511F4D
tetradic
#4D511F #1F513C #231F51 #511F34
square
#4D511F #1F513C #231F51 #511F34
split-complementary
#4D511F #1F3451 #3C1F51
monochromatic
#151608 #23250E #4D511F #777D30 #A1AA41

Accessibility & contrast

On white

8.36
#4D511F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4D511F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D511F
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D511F#FFFFFF#000000##FFFFFF
##4D511F1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D1A
Deuteranopia (green-blind)
#574E22
Tritanopia (blue-blind)
#524C46
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4d511f;
/* rgb */ color: rgb(77, 81, 31);
/* oklch */ color: oklch(42.0% 0.071 113.3);
Tailwind
colors: {
  custom: {
    50: '#80815d',
    500: '#4d511f',
    950: '#000000',
  },
}
SCSS
$custom: #4d511f;
$custom-light: #80815d;
$custom-dark: #000000;
JSON
{
  "hex": "#4d511f",
  "rgb": {
    "r": 77,
    "g": 81,
    "b": 31
  },
  "hsl": {
    "h": 64.8,
    "s": 44.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.41954,
    "c": 0.07148,
    "h": 113.3
  },
  "luminance": 0.07562
}

Semantic roles & 50–950 ramp

primary
#4D511F
secondary
#4B4686
accent
#53D45E
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4D511F

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

Preview Lab → · Contrast checker → · Palette generator →

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