#4B401B#4B401B

#4B401B is a dark, muted yellow. Relative luminance 0.052; OKLCH L 37.4% C 0.056 H 93.0°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#4B401B
RGBrgb(75, 64, 27)
HSLhsl(46, 47%, 20%)
HSVhsv(46, 64%, 29%)
CMYKcmyk(0%, 14.7%, 64%, 70.6%)
CIE-LABlab(27.41, -0.62, 24.01)
CIE-LCHlch(27.41, 24.02, 91.48°)
OKLaboklab(37.41% -0.0029 0.056)
OKLCHoklch(37.41% 0.056 93)
XYZxyz(4.9331, 5.2420, 1.7887)
Luminance0.0524 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B401B #1B264B
analogous
#4B281B #4B401B #3E4B1B
triadic
#4B401B #1B4B40 #401B4B
tetradic
#4B401B #1B4B28 #1B264B #4B1B3E
square
#4B401B #1B4B28 #1B264B #4B1B3E
split-complementary
#4B401B #1B3E4B #281B4B
monochromatic
#171308 #1E1A0B #4B401B #78662B #A58D3B

Accessibility & contrast

On white

10.25
#4B401B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B401B
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B401B#FFFFFF#000000##FFFFFF
##4B401B1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473F17
Deuteranopia (green-blind)
#49421D
Tritanopia (blue-blind)
#513B38
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4b401b;
/* rgb */ color: rgb(75, 64, 27);
/* oklch */ color: oklch(37.4% 0.056 93.0);
Tailwind
colors: {
  custom: {
    50: '#7f7459',
    500: '#4b401b',
    950: '#000000',
  },
}
SCSS
$custom: #4b401b;
$custom-light: #7f7459;
$custom-dark: #000000;
JSON
{
  "hex": "#4b401b",
  "rgb": {
    "r": 75,
    "g": 64,
    "b": 27
  },
  "hsl": {
    "h": 46.25,
    "s": 47.059,
    "l": 20
  },
  "oklch": {
    "l": 0.37407,
    "c": 0.05604,
    "h": 93
  },
  "luminance": 0.05242
}

Semantic roles & 50–950 ramp

primary
#4B401B
secondary
#415081
accent
#70D751
background
#F7F7F5
surface
#EEEDE9
border
#C9C8C5
text
#0A0803
muted
#7C7B78

Preview Lab

Preview with #4B401B

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

Preview Lab → · Contrast checker → · Palette generator →

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