#4D490C#4D490C

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

Color values

HEX#4D490C
RGBrgb(77, 73, 12)
HSLhsl(56, 73%, 17%)
HSVhsv(56, 84%, 30%)
CMYKcmyk(0%, 5.2%, 84.4%, 69.8%)
CIE-LABlab(30.33, -6.17, 34.31)
CIE-LCHlch(30.33, 34.87, 100.20°)
OKLaboklab(39.73% -0.0208 0.0749)
OKLCHoklch(39.73% 0.078 105.5)
XYZxyz(5.5097, 6.3696, 1.2870)
Luminance0.0637 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D490C #0C104D
analogous
#4D290C #4D490C #304D0C
triadic
#4D490C #0C4D49 #490C4D
tetradic
#4D490C #0C4D29 #0C104D #4D0C30
square
#4D490C #0C4D29 #0C104D #4D0C30
split-complementary
#4D490C #0C304D #290C4D
monochromatic
#1A1904 #1A1904 #4D490C #827B14 #B7AD1D

Accessibility & contrast

On white

9.24
#4D490C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D490C
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D490C#FFFFFF#000000##FFFFFF
##4D490C1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d490c;
/* rgb */ color: rgb(77, 73, 12);
/* oklch */ color: oklch(39.7% 0.078 105.5);
Tailwind
colors: {
  custom: {
    50: '#817b51',
    500: '#4d490c',
    950: '#000000',
  },
}
SCSS
$custom: #4d490c;
$custom-light: #817b51;
$custom-dark: #000000;
JSON
{
  "hex": "#4d490c",
  "rgb": {
    "r": 77,
    "g": 73,
    "b": 12
  },
  "hsl": {
    "h": 56.308,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.39725,
    "c": 0.07777,
    "h": 105.5
  },
  "luminance": 0.06369
}

Semantic roles & 50–950 ramp

primary
#4D490C
secondary
#2C3289
accent
#43F038
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #4D490C

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

Preview Lab → · Contrast checker → · Palette generator →

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