#4D4A11#4D4A11

#4D4A11 is a dark, moderate yellow. Relative luminance 0.065; OKLCH L 40.0% C 0.075 H 106.3°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#4D4A11
RGBrgb(77, 74, 17)
HSLhsl(57, 64%, 18%)
HSVhsv(57, 78%, 30%)
CMYKcmyk(0%, 3.9%, 77.9%, 69.8%)
CIE-LABlab(30.68, -6.52, 32.62)
CIE-LCHlch(30.68, 33.26, 101.30°)
OKLaboklab(40.02% -0.0212 0.0724)
OKLCHoklch(40.02% 0.075 106.3)
XYZxyz(5.6107, 6.5160, 1.4924)
Luminance0.0652 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4A11 #11144D
analogous
#4D2C11 #4D4A11 #324D11
triadic
#4D4A11 #114D4A #4A114D
tetradic
#4D4A11 #114D2C #11144D #4D1132
square
#4D4A11 #114D2C #11144D #4D1132
split-complementary
#4D4A11 #11324D #2C114D
monochromatic
#191806 #1B1A06 #4D4A11 #7F7A1C #B1AA27

Accessibility & contrast

On white

9.12
#4D4A11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#4D4A11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4A11
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4A11#FFFFFF#000000##FFFFFF
##4D4A111.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514708
Deuteranopia (green-blind)
#524915
Tritanopia (blue-blind)
#53453F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4d4a11;
/* rgb */ color: rgb(77, 74, 17);
/* oklch */ color: oklch(40.0% 0.075 106.3);
Tailwind
colors: {
  custom: {
    50: '#817c53',
    500: '#4d4a11',
    950: '#000000',
  },
}
SCSS
$custom: #4d4a11;
$custom-light: #817c53;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4a11",
  "rgb": {
    "r": 77,
    "g": 74,
    "b": 17
  },
  "hsl": {
    "h": 57,
    "s": 63.83,
    "l": 18.431
  },
  "oklch": {
    "l": 0.40017,
    "c": 0.07545,
    "h": 106.3
  },
  "luminance": 0.06516
}

Semantic roles & 50–950 ramp

primary
#4D4A11
secondary
#333886
accent
#49E741
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #4D4A11

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

Preview Lab → · Contrast checker → · Palette generator →

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