#4D4D0D#4D4D0D

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

Color values

HEX#4D4D0D
RGBrgb(77, 77, 13)
HSLhsl(60, 71%, 18%)
HSVhsv(60, 83%, 30%)
CMYKcmyk(0%, 0%, 83.1%, 69.8%)
CIE-LABlab(31.61, -8.52, 35.12)
CIE-LCHlch(31.61, 36.14, 103.64°)
OKLaboklab(40.75% -0.0273 0.0769)
OKLCHoklch(40.75% 0.082 109.5)
XYZxyz(5.7873, 6.9148, 1.4105)
Luminance0.0692 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4D0D #0D0D4D
analogous
#4D2D0D #4D4D0D #2D4D0D
triadic
#4D4D0D #0D4D4D #4D0D4D
tetradic
#4D4D0D #0D4D2D #0D0D4D #4D0D2D
square
#4D4D0D #0D4D2D #0D0D4D #4D0D2D
split-complementary
#4D4D0D #0D2D4D #2D0D4D
monochromatic
#1A1A04 #1A1A04 #4D4D0D #818116 #B6B61F

Accessibility & contrast

On white

8.81
#4D4D0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#4D4D0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4D0D
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4D0D#FFFFFF#000000##FFFFFF
##4D4D0D1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544901
Deuteranopia (green-blind)
#554B12
Tritanopia (blue-blind)
#534741
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4d4d0d;
/* rgb */ color: rgb(77, 77, 13);
/* oklch */ color: oklch(40.8% 0.082 109.5);
Tailwind
colors: {
  custom: {
    50: '#817e52',
    500: '#4d4d0d',
    950: '#000000',
  },
}
SCSS
$custom: #4d4d0d;
$custom-light: #817e52;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4d0d",
  "rgb": {
    "r": 77,
    "g": 77,
    "b": 13
  },
  "hsl": {
    "h": 60,
    "s": 71.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.40753,
    "c": 0.08155,
    "h": 109.5
  },
  "luminance": 0.06915
}

Semantic roles & 50–950 ramp

primary
#4D4D0D
secondary
#2E2E88
accent
#3AEE3A
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #4D4D0D

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

Preview Lab → · Contrast checker → · Palette generator →

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