#4D481B#4D481B

#4D481B is a dark, moderate yellow. Relative luminance 0.063; OKLCH L 39.6% C 0.064 H 103.0°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#4D481B
RGBrgb(77, 72, 27)
HSLhsl(54, 48%, 20%)
HSVhsv(54, 65%, 30%)
CMYKcmyk(0%, 6.5%, 64.9%, 69.8%)
CIE-LABlab(30.14, -4.58, 27.15)
CIE-LCHlch(30.14, 27.54, 99.58°)
OKLaboklab(39.62% -0.0145 0.0627)
OKLCHoklch(39.62% 0.064 103)
XYZxyz(5.5760, 6.2918, 1.9574)
Luminance0.0629 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D481B #1B204D
analogous
#4D2F1B #4D481B #394D1B
triadic
#4D481B #1B4D48 #481B4D
tetradic
#4D481B #1B4D2F #1B204D #4D1B39
square
#4D481B #1B4D2F #1B204D #4D1B39
split-complementary
#4D481B #1B394D #2F1B4D
monochromatic
#171508 #201E0B #4D481B #7A722B #A89D3B

Accessibility & contrast

On white

9.30
#4D481B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#4D481B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D481B
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D481B#FFFFFF#000000##FFFFFF
##4D481B1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4616
Deuteranopia (green-blind)
#50481D
Tritanopia (blue-blind)
#53433E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4d481b;
/* rgb */ color: rgb(77, 72, 27);
/* oklch */ color: oklch(39.6% 0.064 103.0);
Tailwind
colors: {
  custom: {
    50: '#807a59',
    500: '#4d481b',
    950: '#000000',
  },
}
SCSS
$custom: #4d481b;
$custom-light: #807a59;
$custom-dark: #000000;
JSON
{
  "hex": "#4d481b",
  "rgb": {
    "r": 77,
    "g": 72,
    "b": 27
  },
  "hsl": {
    "h": 54,
    "s": 48.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.39616,
    "c": 0.0643,
    "h": 103
  },
  "luminance": 0.06292
}

Semantic roles & 50–950 ramp

primary
#4D481B
secondary
#414883
accent
#5ED850
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0A0903
muted
#7C7B78

Preview Lab

Preview with #4D481B

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

Preview Lab → · Contrast checker → · Palette generator →

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