#4A400D#4A400D

#4A400D is a dark, moderate yellow. Relative luminance 0.052; OKLCH L 37.1% C 0.069 H 97.6°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#4A400D
RGBrgb(74, 64, 13)
HSLhsl(50, 70%, 17%)
HSVhsv(50, 82%, 29%)
CMYKcmyk(0%, 13.5%, 82.4%, 71%)
CIE-LABlab(27.16, -2.13, 30.85)
CIE-LCHlch(27.16, 30.92, 93.95°)
OKLaboklab(37.14% -0.0091 0.0679)
OKLCHoklch(37.14% 0.069 97.6)
XYZxyz(4.7303, 5.1519, 1.1260)
Luminance0.0515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A400D #0D174A
analogous
#4A220D #4A400D #364A0D
triadic
#4A400D #0D4A40 #400D4A
tetradic
#4A400D #0D4A22 #0D174A #4A0D36
square
#4A400D #0D4A22 #0D174A #4A0D36
split-complementary
#4A400D #0D364A #220D4A
monochromatic
#1A1705 #1A1705 #4A400D #7E6D16 #B29A1F

Accessibility & contrast

On white

10.34
#4A400D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#4A400D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A400D
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A400D#FFFFFF#000000##FFFFFF
##4A400D1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473E05
Deuteranopia (green-blind)
#4A4210
Tritanopia (blue-blind)
#513A36
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4a400d;
/* rgb */ color: rgb(74, 64, 13);
/* oklch */ color: oklch(37.1% 0.069 97.6);
Tailwind
colors: {
  custom: {
    50: '#7f7450',
    500: '#4a400d',
    950: '#000000',
  },
}
SCSS
$custom: #4a400d;
$custom-light: #7f7450;
$custom-dark: #000000;
JSON
{
  "hex": "#4a400d",
  "rgb": {
    "r": 74,
    "g": 64,
    "b": 13
  },
  "hsl": {
    "h": 50.164,
    "s": 70.115,
    "l": 17.059
  },
  "oklch": {
    "l": 0.37139,
    "c": 0.06853,
    "h": 97.6
  },
  "luminance": 0.05152
}

Semantic roles & 50–950 ramp

primary
#4A400D
secondary
#2E3C85
accent
#58ED3B
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0A0802
muted
#7C7B78

Preview Lab

Preview with #4A400D

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

Preview Lab → · Contrast checker → · Palette generator →

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