#4D480F#4D480F

#4D480F is a dark, moderate yellow. Relative luminance 0.062; OKLCH L 39.5% C 0.075 H 104.2°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#4D480F
RGBrgb(77, 72, 15)
HSLhsl(55, 67%, 18%)
HSVhsv(55, 81%, 30%)
CMYKcmyk(0%, 6.5%, 80.5%, 69.8%)
CIE-LABlab(30.03, -5.42, 32.84)
CIE-LCHlch(30.03, 33.29, 99.37°)
OKLaboklab(39.49% -0.0184 0.0725)
OKLCHoklch(39.49% 0.075 104.2)
XYZxyz(5.4644, 6.2472, 1.3698)
Luminance0.0625 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D480F #0F144D
analogous
#4D290F #4D480F #334D0F
triadic
#4D480F #0F4D48 #480F4D
tetradic
#4D480F #0F4D29 #0F144D #4D0F33
square
#4D480F #0F4D29 #0F144D #4D0F33
split-complementary
#4D480F #0F334D #290F4D
monochromatic
#1A1805 #1A1805 #4D480F #807819 #B3A823

Accessibility & contrast

On white

9.34
#4D480F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#4D480F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D480F
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D480F#FFFFFF#000000##FFFFFF
##4D480F1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4505
Deuteranopia (green-blind)
#514813
Tritanopia (blue-blind)
#53423D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4d480f;
/* rgb */ color: rgb(77, 72, 15);
/* oklch */ color: oklch(39.5% 0.075 104.2);
Tailwind
colors: {
  custom: {
    50: '#817a52',
    500: '#4d480f',
    950: '#000000',
  },
}
SCSS
$custom: #4d480f;
$custom-light: #817a52;
$custom-dark: #000000;
JSON
{
  "hex": "#4d480f",
  "rgb": {
    "r": 77,
    "g": 72,
    "b": 15
  },
  "hsl": {
    "h": 55.161,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.39494,
    "c": 0.07475,
    "h": 104.2
  },
  "luminance": 0.06247
}

Semantic roles & 50–950 ramp

primary
#4D480F
secondary
#313887
accent
#4BEA3E
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #4D480F

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

Preview Lab → · Contrast checker → · Palette generator →

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