#4D511A#4D511A

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

Color values

HEX#4D511A
RGBrgb(77, 81, 26)
HSLhsl(64, 51%, 21%)
HSVhsv(64, 68%, 32%)
CMYKcmyk(4.9%, 0%, 67.9%, 68.2%)
CIE-LABlab(33.00, -10.05, 30.80)
CIE-LCHlch(33.00, 32.39, 108.07°)
OKLaboklab(41.9% -0.0301 0.0702)
OKLCHoklch(41.9% 0.076 113.2)
XYZxyz(6.1896, 7.5373, 2.1059)
Luminance0.0754 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D511A #1E1A51
analogous
#51391A #4D511A #31511A
triadic
#4D511A #1A4D51 #511A4D
tetradic
#4D511A #1A5139 #1E1A51 #511A31
square
#4D511A #1A5139 #1E1A51 #511A31
split-complementary
#4D511A #1A3151 #391A51
monochromatic
#161707 #21230B #4D511A #797F29 #A5AE38

Accessibility & contrast

On white

8.38
#4D511A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D511A
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D511A#FFFFFF#000000##FFFFFF
##4D511A1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d511a;
/* rgb */ color: rgb(77, 81, 26);
/* oklch */ color: oklch(41.9% 0.076 113.2);
Tailwind
colors: {
  custom: {
    50: '#818159',
    500: '#4d511a',
    950: '#000000',
  },
}
SCSS
$custom: #4d511a;
$custom-light: #818159;
$custom-dark: #000000;
JSON
{
  "hex": "#4d511a",
  "rgb": {
    "r": 77,
    "g": 81,
    "b": 26
  },
  "hsl": {
    "h": 64.364,
    "s": 51.402,
    "l": 20.98
  },
  "oklch": {
    "l": 0.41895,
    "c": 0.0764,
    "h": 113.2
  },
  "luminance": 0.07537
}

Semantic roles & 50–950 ramp

primary
#4D511A
secondary
#454087
accent
#4DDB57
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4D511A

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

Preview Lab → · Contrast checker → · Palette generator →

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