#4D450F#4D450F

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

Color values

HEX#4D450F
RGBrgb(77, 69, 15)
HSLhsl(52, 67%, 18%)
HSVhsv(52, 81%, 30%)
CMYKcmyk(0%, 10.4%, 80.5%, 69.8%)
CIE-LABlab(29.08, -3.58, 31.93)
CIE-LCHlch(29.08, 32.13, 96.40°)
OKLaboklab(38.74% -0.0132 0.0705)
OKLCHoklch(38.74% 0.072 100.6)
XYZxyz(5.2752, 5.8688, 1.3068)
Luminance0.0587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D450F #0F174D
analogous
#4D260F #4D450F #364D0F
triadic
#4D450F #0F4D45 #450F4D
tetradic
#4D450F #0F4D26 #0F174D #4D0F36
square
#4D450F #0F4D26 #0F174D #4D0F36
split-complementary
#4D450F #0F364D #260F4D
monochromatic
#1A1705 #1A1705 #4D450F #807319 #B3A123

Accessibility & contrast

On white

9.66
#4D450F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D450F
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D450F#FFFFFF#000000##FFFFFF
##4D450F1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4306
Deuteranopia (green-blind)
#4F4613
Tritanopia (blue-blind)
#543F3A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4d450f;
/* rgb */ color: rgb(77, 69, 15);
/* oklch */ color: oklch(38.7% 0.072 100.6);
Tailwind
colors: {
  custom: {
    50: '#817852',
    500: '#4d450f',
    950: '#000000',
  },
}
SCSS
$custom: #4d450f;
$custom-light: #817852;
$custom-dark: #000000;
JSON
{
  "hex": "#4d450f",
  "rgb": {
    "r": 77,
    "g": 69,
    "b": 15
  },
  "hsl": {
    "h": 52.258,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.3874,
    "c": 0.07175,
    "h": 100.6
  },
  "luminance": 0.05869
}

Semantic roles & 50–950 ramp

primary
#4D450F
secondary
#313C87
accent
#54EA3E
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0802
muted
#7C7B78

Preview Lab

Preview with #4D450F

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

Preview Lab → · Contrast checker → · Palette generator →

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