#4D4912#4D4912

#4D4912 is a dark, moderate yellow. Relative luminance 0.064; OKLCH L 39.8% C 0.074 H 105.1°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#4D4912
RGBrgb(77, 73, 18)
HSLhsl(56, 62%, 19%)
HSVhsv(56, 77%, 30%)
CMYKcmyk(0%, 5.2%, 76.6%, 69.8%)
CIE-LABlab(30.37, -5.85, 31.87)
CIE-LCHlch(30.37, 32.40, 100.41°)
OKLaboklab(39.77% -0.0192 0.071)
OKLCHoklch(39.77% 0.074 105.1)
XYZxyz(5.5525, 6.3867, 1.5124)
Luminance0.0639 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4912 #12164D
analogous
#4D2B12 #4D4912 #334D12
triadic
#4D4912 #124D49 #49124D
tetradic
#4D4912 #124D2B #12164D #4D1233
square
#4D4912 #124D2B #12164D #4D1233
split-complementary
#4D4912 #12334D #2B124D
monochromatic
#191806 #1B1A06 #4D4912 #7F781E #B0A729

Accessibility & contrast

On white

9.22
#4D4912 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#4D4912 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4912
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4912#FFFFFF#000000##FFFFFF
##4D49121.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504609
Deuteranopia (green-blind)
#514916
Tritanopia (blue-blind)
#53443E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4d4912;
/* rgb */ color: rgb(77, 73, 18);
/* oklch */ color: oklch(39.8% 0.074 105.1);
Tailwind
colors: {
  custom: {
    50: '#817b54',
    500: '#4d4912',
    950: '#000000',
  },
}
SCSS
$custom: #4d4912;
$custom-light: #817b54;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4912",
  "rgb": {
    "r": 77,
    "g": 73,
    "b": 18
  },
  "hsl": {
    "h": 55.932,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.39771,
    "c": 0.07359,
    "h": 105.1
  },
  "luminance": 0.06387
}

Semantic roles & 50–950 ramp

primary
#4D4912
secondary
#353A86
accent
#4EE543
background
#F8F7F4
surface
#EFEDE8
border
#CAC8C4
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #4D4912

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

Preview Lab → · Contrast checker → · Palette generator →

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