#4D511E#4D511E

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

Color values

HEX#4D511E
RGBrgb(77, 81, 30)
HSLhsl(65, 46%, 22%)
HSVhsv(65, 63%, 32%)
CMYKcmyk(4.9%, 0%, 63%, 68.2%)
CIE-LABlab(33.04, -9.71, 28.81)
CIE-LCHlch(33.04, 30.40, 108.62°)
OKLaboklab(41.94% -0.0286 0.0666)
OKLCHoklch(41.94% 0.073 113.2)
XYZxyz(6.2375, 7.5565, 2.3580)
Luminance0.0756 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D511E #221E51
analogous
#513C1E #4D511E #34511E
triadic
#4D511E #1E4D51 #511E4D
tetradic
#4D511E #1E513C #221E51 #511E34
square
#4D511E #1E513C #221E51 #511E34
split-complementary
#4D511E #1E3451 #3C1E51
monochromatic
#151608 #23240D #4D511E #777E2F #A2AA3F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D511E#FFFFFF#000000##FFFFFF
##4D511E1.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)
#574D18
Deuteranopia (green-blind)
#574E21
Tritanopia (blue-blind)
#524C46
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4d511e;
/* rgb */ color: rgb(77, 81, 30);
/* oklch */ color: oklch(41.9% 0.073 113.2);
Tailwind
colors: {
  custom: {
    50: '#80815c',
    500: '#4d511e',
    950: '#000000',
  },
}
SCSS
$custom: #4d511e;
$custom-light: #80815c;
$custom-dark: #000000;
JSON
{
  "hex": "#4d511e",
  "rgb": {
    "r": 77,
    "g": 81,
    "b": 30
  },
  "hsl": {
    "h": 64.706,
    "s": 45.946,
    "l": 21.765
  },
  "oklch": {
    "l": 0.41942,
    "c": 0.07251,
    "h": 113.2
  },
  "luminance": 0.07556
}

Semantic roles & 50–950 ramp

primary
#4D511E
secondary
#4A4586
accent
#52D65C
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4D511E

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

Preview Lab → · Contrast checker → · Palette generator →

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