#4A401B#4A401B

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

Color values

HEX#4A401B
RGBrgb(74, 64, 27)
HSLhsl(47, 47%, 20%)
HSVhsv(47, 64%, 29%)
CMYKcmyk(0%, 13.5%, 63.5%, 71%)
CIE-LABlab(27.30, -1.12, 23.85)
CIE-LCHlch(27.30, 23.88, 92.70°)
OKLaboklab(37.29% -0.0043 0.0557)
OKLCHoklch(37.29% 0.056 94.4)
XYZxyz(4.8555, 5.2020, 1.7850)
Luminance0.0520 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A401B #1B254A
analogous
#4A291B #4A401B #3D4A1B
triadic
#4A401B #1B4A40 #401B4A
tetradic
#4A401B #1B4A29 #1B254A #4A1B3D
square
#4A401B #1B4A29 #1B254A #4A1B3D
split-complementary
#4A401B #1B3D4A #291B4A
monochromatic
#161308 #1D190B #4A401B #77672B #A48E3C

Accessibility & contrast

On white

10.29
#4A401B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#4A401B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A401B
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A401B#FFFFFF#000000##FFFFFF
##4A401B1.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a401b;
/* rgb */ color: rgb(74, 64, 27);
/* oklch */ color: oklch(37.3% 0.056 94.4);
Tailwind
colors: {
  custom: {
    50: '#7e7459',
    500: '#4a401b',
    950: '#000000',
  },
}
SCSS
$custom: #4a401b;
$custom-light: #7e7459;
$custom-dark: #000000;
JSON
{
  "hex": "#4a401b",
  "rgb": {
    "r": 74,
    "g": 64,
    "b": 27
  },
  "hsl": {
    "h": 47.234,
    "s": 46.535,
    "l": 19.804
  },
  "oklch": {
    "l": 0.37294,
    "c": 0.05582,
    "h": 94.4
  },
  "luminance": 0.05202
}

Semantic roles & 50–950 ramp

primary
#4A401B
secondary
#414E80
accent
#6ED652
background
#F7F7F5
surface
#EEEDE9
border
#C9C8C5
text
#0A0803
muted
#7C7B78

Preview Lab

Preview with #4A401B

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

Preview Lab → · Contrast checker → · Palette generator →

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