#4D4612#4D4612

#4D4612 is a dark, moderate yellow. Relative luminance 0.060; OKLCH L 39.0% C 0.070 H 101.5°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#4D4612
RGBrgb(77, 70, 18)
HSLhsl(53, 62%, 19%)
HSVhsv(53, 77%, 30%)
CMYKcmyk(0%, 9.1%, 76.6%, 69.8%)
CIE-LABlab(29.42, -4.02, 30.92)
CIE-LCHlch(29.42, 31.18, 97.42°)
OKLaboklab(39.02% -0.0141 0.069)
OKLCHoklch(39.02% 0.07 101.5)
XYZxyz(5.3601, 6.0020, 1.4483)
Luminance0.0600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4612 #12194D
analogous
#4D2812 #4D4612 #364D12
triadic
#4D4612 #124D46 #46124D
tetradic
#4D4612 #124D28 #12194D #4D1236
square
#4D4612 #124D28 #12194D #4D1236
split-complementary
#4D4612 #12364D #28124D
monochromatic
#191706 #1B1906 #4D4612 #7F731E #B0A029

Accessibility & contrast

On white

9.54
#4D4612 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#4D4612 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4612
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4612#FFFFFF#000000##FFFFFF
##4D46121.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D440A
Deuteranopia (green-blind)
#4F4715
Tritanopia (blue-blind)
#53413C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4d4612;
/* rgb */ color: rgb(77, 70, 18);
/* oklch */ color: oklch(39.0% 0.070 101.5);
Tailwind
colors: {
  custom: {
    50: '#817953',
    500: '#4d4612',
    950: '#000000',
  },
}
SCSS
$custom: #4d4612;
$custom-light: #817953;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4612",
  "rgb": {
    "r": 77,
    "g": 70,
    "b": 18
  },
  "hsl": {
    "h": 52.881,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.39016,
    "c": 0.07044,
    "h": 101.5
  },
  "luminance": 0.06002
}

Semantic roles & 50–950 ramp

primary
#4D4612
secondary
#353E86
accent
#56E543
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #4D4612

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

Preview Lab → · Contrast checker → · Palette generator →

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