#4D450C#4D450C

#4D450C is a dark, moderate yellow. Relative luminance 0.059; OKLCH L 38.7% C 0.074 H 100.9°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#4D450C
RGBrgb(77, 69, 12)
HSLhsl(53, 73%, 17%)
HSVhsv(53, 84%, 30%)
CMYKcmyk(0%, 10.4%, 84.4%, 69.8%)
CIE-LABlab(29.06, -3.73, 33.15)
CIE-LCHlch(29.06, 33.36, 96.43°)
OKLaboklab(38.72% -0.014 0.0725)
OKLCHoklch(38.72% 0.074 100.9)
XYZxyz(5.2553, 5.8608, 1.2022)
Luminance0.0586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D450C #0C144D
analogous
#4D240C #4D450C #354D0C
triadic
#4D450C #0C4D45 #450C4D
tetradic
#4D450C #0C4D24 #0C144D #4D0C35
square
#4D450C #0C4D24 #0C144D #4D0C35
split-complementary
#4D450C #0C354D #240C4D
monochromatic
#1A1804 #1A1804 #4D450C #827414 #B7A41D

Accessibility & contrast

On white

9.67
#4D450C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#4D450C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D450C
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D450C#FFFFFF#000000##FFFFFF
##4D450C1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4302
Deuteranopia (green-blind)
#4F4610
Tritanopia (blue-blind)
#543F3A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4d450c;
/* rgb */ color: rgb(77, 69, 12);
/* oklch */ color: oklch(38.7% 0.074 100.9);
Tailwind
colors: {
  custom: {
    50: '#827850',
    500: '#4d450c',
    950: '#000000',
  },
}
SCSS
$custom: #4d450c;
$custom-light: #827850;
$custom-dark: #000000;
JSON
{
  "hex": "#4d450c",
  "rgb": {
    "r": 77,
    "g": 69,
    "b": 12
  },
  "hsl": {
    "h": 52.615,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.38717,
    "c": 0.07378,
    "h": 100.9
  },
  "luminance": 0.05861
}

Semantic roles & 50–950 ramp

primary
#4D450C
secondary
#2C3889
accent
#4FF038
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0802
muted
#7C7B78

Preview Lab

Preview with #4D450C

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

Preview Lab → · Contrast checker → · Palette generator →

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