#4D400B#4D400B

#4D400B is a dark, moderate yellow. Relative luminance 0.053; OKLCH L 37.5% C 0.070 H 94.4°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#4D400B
RGBrgb(77, 64, 11)
HSLhsl(48, 75%, 17%)
HSVhsv(48, 86%, 30%)
CMYKcmyk(0%, 16.9%, 85.7%, 69.8%)
CIE-LABlab(27.49, -0.67, 32.11)
CIE-LCHlch(27.49, 32.11, 91.19°)
OKLaboklab(37.47% -0.0054 0.07)
OKLCHoklch(37.47% 0.07 94.4)
XYZxyz(4.9546, 5.2690, 1.0726)
Luminance0.0527 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D400B #0B184D
analogous
#4D1F0B #4D400B #394D0B
triadic
#4D400B #0B4D40 #400B4D
tetradic
#4D400B #0B4D1F #0B184D #4D0B39
square
#4D400B #0B4D1F #0B184D #4D0B39
split-complementary
#4D400B #0B394D #1F0B4D
monochromatic
#1B1604 #1B1604 #4D400B #836D13 #B8991A

Accessibility & contrast

On white

10.22
#4D400B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#4D400B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D400B
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D400B#FFFFFF#000000##FFFFFF
##4D400B1.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F03
Deuteranopia (green-blind)
#4B430E
Tritanopia (blue-blind)
#543A36
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4d400b;
/* rgb */ color: rgb(77, 64, 11);
/* oklch */ color: oklch(37.5% 0.070 94.4);
Tailwind
colors: {
  custom: {
    50: '#82744f',
    500: '#4d400b',
    950: '#000000',
  },
}
SCSS
$custom: #4d400b;
$custom-light: #82744f;
$custom-dark: #000000;
JSON
{
  "hex": "#4d400b",
  "rgb": {
    "r": 77,
    "g": 64,
    "b": 11
  },
  "hsl": {
    "h": 48.182,
    "s": 75,
    "l": 17.255
  },
  "oklch": {
    "l": 0.3747,
    "c": 0.07018,
    "h": 94.4
  },
  "luminance": 0.05269
}

Semantic roles & 50–950 ramp

primary
#4D400B
secondary
#2B3D89
accent
#5BF236
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0802
muted
#7C7B78

Preview Lab

Preview with #4D400B

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

Preview Lab → · Contrast checker → · Palette generator →

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