#4D5512#4D5512

#4D5512 is a dark, moderate yellow. Relative luminance 0.081; OKLCH L 42.9% C 0.088 H 116.2°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#4D5512
RGBrgb(77, 85, 18)
HSLhsl(67, 65%, 20%)
HSVhsv(67, 79%, 33%)
CMYKcmyk(9.4%, 0%, 78.8%, 66.7%)
CIE-LABlab(34.23, -12.89, 35.64)
CIE-LCHlch(34.23, 37.90, 109.89°)
OKLaboklab(42.86% -0.0389 0.079)
OKLCHoklch(42.86% 0.088 116.2)
XYZxyz(6.4184, 8.1185, 1.8011)
Luminance0.0812 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5512 #1A1255
analogous
#553B12 #4D5512 #2B5512
triadic
#4D5512 #124D55 #55124D
tetradic
#4D5512 #12553B #1A1255 #55122B
square
#4D5512 #12553B #1A1255 #55122B
split-complementary
#4D5512 #122B55 #3B1255
monochromatic
#171905 #1F2207 #4D5512 #7B881D #A9BA27

Accessibility & contrast

On white

8.00
#4D5512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#4D5512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D5512
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5512#FFFFFF#000000##FFFFFF
##4D55121.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5006
Deuteranopia (green-blind)
#5B5118
Tritanopia (blue-blind)
#525048
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4d5512;
/* rgb */ color: rgb(77, 85, 18);
/* oklch */ color: oklch(42.9% 0.088 116.2);
Tailwind
colors: {
  custom: {
    50: '#818455',
    500: '#4d5512',
    950: '#000000',
  },
}
SCSS
$custom: #4d5512;
$custom-light: #818455;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5512",
  "rgb": {
    "r": 77,
    "g": 85,
    "b": 18
  },
  "hsl": {
    "h": 67.164,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.42859,
    "c": 0.08805,
    "h": 116.2
  },
  "luminance": 0.08118
}

Semantic roles & 50–950 ramp

primary
#4D5512
secondary
#40358E
accent
#40E854
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4D5512

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

Preview Lab → · Contrast checker → · Palette generator →

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