#4D5612#4D5612

#4D5612 is a dark, moderate yellow. Relative luminance 0.083; OKLCH L 43.1% C 0.089 H 116.9°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#4D5612
RGBrgb(77, 86, 18)
HSLhsl(68, 65%, 20%)
HSVhsv(68, 79%, 34%)
CMYKcmyk(10.5%, 0%, 79.1%, 66.3%)
CIE-LABlab(34.55, -13.46, 35.95)
CIE-LCHlch(34.55, 38.39, 110.52°)
OKLaboklab(43.12% -0.0405 0.0797)
OKLCHoklch(43.12% 0.089 116.9)
XYZxyz(6.4977, 8.2771, 1.8275)
Luminance0.0828 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5612 #1B1256
analogous
#563D12 #4D5612 #2B5612
triadic
#4D5612 #124D56 #56124D
tetradic
#4D5612 #12563D #1B1256 #56122B
square
#4D5612 #12563D #1B1256 #56122B
split-complementary
#4D5612 #122B56 #3D1256
monochromatic
#171905 #202307 #4D5612 #7A891D #A8BB27

Accessibility & contrast

On white

7.91
#4D5612 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#4D5612 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D5612
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5612#FFFFFF#000000##FFFFFF
##4D56121.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5105
Deuteranopia (green-blind)
#5C5218
Tritanopia (blue-blind)
#525149
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4d5612;
/* rgb */ color: rgb(77, 86, 18);
/* oklch */ color: oklch(43.1% 0.089 116.9);
Tailwind
colors: {
  custom: {
    50: '#818556',
    500: '#4d5612',
    950: '#000000',
  },
}
SCSS
$custom: #4d5612;
$custom-light: #818556;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5612",
  "rgb": {
    "r": 77,
    "g": 86,
    "b": 18
  },
  "hsl": {
    "h": 67.941,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.4312,
    "c": 0.08935,
    "h": 116.9
  },
  "luminance": 0.08277
}

Semantic roles & 50–950 ramp

primary
#4D5612
secondary
#41358F
accent
#3FE856
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4D5612

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

Preview Lab → · Contrast checker → · Palette generator →

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