#4D511C#4D511C

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

Color values

HEX#4D511C
RGBrgb(77, 81, 28)
HSLhsl(65, 49%, 21%)
HSVhsv(65, 65%, 32%)
CMYKcmyk(4.9%, 0%, 65.4%, 68.2%)
CIE-LABlab(33.02, -9.88, 29.82)
CIE-LCHlch(33.02, 31.41, 108.34°)
OKLaboklab(41.92% -0.0294 0.0685)
OKLCHoklch(41.92% 0.075 113.2)
XYZxyz(6.2127, 7.5466, 2.2277)
Luminance0.0755 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D511C #201C51
analogous
#513B1C #4D511C #33511C
triadic
#4D511C #1C4D51 #511C4D
tetradic
#4D511C #1C513B #201C51 #511C33
square
#4D511C #1C513B #201C51 #511C33
split-complementary
#4D511C #1C3351 #3B1C51
monochromatic
#161708 #22240C #4D511C #787E2C #A3AC3B

Accessibility & contrast

On white

8.37
#4D511C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D511C
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D511C#FFFFFF#000000##FFFFFF
##4D511C1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d511c;
/* rgb */ color: rgb(77, 81, 28);
/* oklch */ color: oklch(41.9% 0.074 113.2);
Tailwind
colors: {
  custom: {
    50: '#80815b',
    500: '#4d511c',
    950: '#000000',
  },
}
SCSS
$custom: #4d511c;
$custom-light: #80815b;
$custom-dark: #000000;
JSON
{
  "hex": "#4d511c",
  "rgb": {
    "r": 77,
    "g": 81,
    "b": 28
  },
  "hsl": {
    "h": 64.528,
    "s": 48.624,
    "l": 21.373
  },
  "oklch": {
    "l": 0.41917,
    "c": 0.0745,
    "h": 113.2
  },
  "luminance": 0.07546
}

Semantic roles & 50–950 ramp

primary
#4D511C
secondary
#474287
accent
#50D85A
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4D511C

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

Preview Lab → · Contrast checker → · Palette generator →

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