#4D4D12#4D4D12

#4D4D12 is a dark, moderate yellow. Relative luminance 0.069; OKLCH L 40.8% C 0.078 H 109.4°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#4D4D12
RGBrgb(77, 77, 18)
HSLhsl(60, 62%, 19%)
HSVhsv(60, 77%, 30%)
CMYKcmyk(0%, 0%, 76.6%, 69.8%)
CIE-LABlab(31.65, -8.25, 33.13)
CIE-LCHlch(31.65, 34.14, 103.99°)
OKLaboklab(40.79% -0.026 0.0737)
OKLCHoklch(40.79% 0.078 109.4)
XYZxyz(5.8238, 6.9294, 1.6029)
Luminance0.0693 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4D12 #12124D
analogous
#4D2F12 #4D4D12 #2F4D12
triadic
#4D4D12 #124D4D #4D124D
tetradic
#4D4D12 #124D2F #12124D #4D122F
square
#4D4D12 #124D2F #12124D #4D122F
split-complementary
#4D4D12 #122F4D #2F124D
monochromatic
#191906 #1B1B06 #4D4D12 #7F7F1E #B0B029

Accessibility & contrast

On white

8.80
#4D4D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#4D4D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4D12
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4D12#FFFFFF#000000##FFFFFF
##4D4D121.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544908
Deuteranopia (green-blind)
#554B16
Tritanopia (blue-blind)
#534841
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4d4d12;
/* rgb */ color: rgb(77, 77, 18);
/* oklch */ color: oklch(40.8% 0.078 109.4);
Tailwind
colors: {
  custom: {
    50: '#817e54',
    500: '#4d4d12',
    950: '#000000',
  },
}
SCSS
$custom: #4d4d12;
$custom-light: #817e54;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4d12",
  "rgb": {
    "r": 77,
    "g": 77,
    "b": 18
  },
  "hsl": {
    "h": 60,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.4079,
    "c": 0.07813,
    "h": 109.4
  },
  "luminance": 0.06929
}

Semantic roles & 50–950 ramp

primary
#4D4D12
secondary
#353586
accent
#43E543
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #4D4D12

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

Preview Lab → · Contrast checker → · Palette generator →

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