#4D490D#4D490D

#4D490D is a dark, moderate yellow. Relative luminance 0.064; OKLCH L 39.7% C 0.077 H 105.5°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#4D490D
RGBrgb(77, 73, 13)
HSLhsl(56, 71%, 18%)
HSVhsv(56, 83%, 30%)
CMYKcmyk(0%, 5.2%, 83.1%, 69.8%)
CIE-LABlab(30.33, -6.13, 33.94)
CIE-LCHlch(30.33, 34.49, 100.23°)
OKLaboklab(39.73% -0.0206 0.0743)
OKLCHoklch(39.73% 0.077 105.5)
XYZxyz(5.5160, 6.3721, 1.3201)
Luminance0.0637 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D490D #0D114D
analogous
#4D290D #4D490D #314D0D
triadic
#4D490D #0D4D49 #490D4D
tetradic
#4D490D #0D4D29 #0D114D #4D0D31
square
#4D490D #0D4D29 #0D114D #4D0D31
split-complementary
#4D490D #0D314D #290D4D
monochromatic
#1A1904 #1A1904 #4D490D #817B16 #B6AC1F

Accessibility & contrast

On white

9.23
#4D490D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#4D490D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D490D
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D490D#FFFFFF#000000##FFFFFF
##4D490D1.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504602
Deuteranopia (green-blind)
#524912
Tritanopia (blue-blind)
#53433E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4d490d;
/* rgb */ color: rgb(77, 73, 13);
/* oklch */ color: oklch(39.7% 0.077 105.5);
Tailwind
colors: {
  custom: {
    50: '#817b51',
    500: '#4d490d',
    950: '#000000',
  },
}
SCSS
$custom: #4d490d;
$custom-light: #817b51;
$custom-dark: #000000;
JSON
{
  "hex": "#4d490d",
  "rgb": {
    "r": 77,
    "g": 73,
    "b": 13
  },
  "hsl": {
    "h": 56.25,
    "s": 71.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.39732,
    "c": 0.07714,
    "h": 105.5
  },
  "luminance": 0.06372
}

Semantic roles & 50–950 ramp

primary
#4D490D
secondary
#2E3388
accent
#45EE3A
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #4D490D

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

Preview Lab → · Contrast checker → · Palette generator →

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