#4A400B#4A400B

#4A400B is a dark, moderate yellow. Relative luminance 0.051; OKLCH L 37.1% C 0.070 H 97.9°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#4A400B
RGBrgb(74, 64, 11)
HSLhsl(50, 74%, 17%)
HSVhsv(50, 85%, 29%)
CMYKcmyk(0%, 13.5%, 85.1%, 71%)
CIE-LABlab(27.15, -2.23, 31.67)
CIE-LCHlch(27.15, 31.75, 94.03°)
OKLaboklab(37.12% -0.0096 0.0692)
OKLCHoklch(37.12% 0.07 97.9)
XYZxyz(4.7181, 5.1470, 1.0615)
Luminance0.0515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A400B #0B154A
analogous
#4A210B #4A400B #354A0B
triadic
#4A400B #0B4A40 #400B4A
tetradic
#4A400B #0B4A21 #0B154A #4A0B35
square
#4A400B #0B4A21 #0B154A #4A0B35
split-complementary
#4A400B #0B354A #210B4A
monochromatic
#1B1704 #1B1704 #4A400B #7F6E13 #B59C1B

Accessibility & contrast

On white

10.35
#4A400B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A400B
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A400B#FFFFFF#000000##FFFFFF
##4A400B1.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a400b;
/* rgb */ color: rgb(74, 64, 11);
/* oklch */ color: oklch(37.1% 0.070 97.9);
Tailwind
colors: {
  custom: {
    50: '#7f744f',
    500: '#4a400b',
    950: '#000000',
  },
}
SCSS
$custom: #4a400b;
$custom-light: #7f744f;
$custom-dark: #000000;
JSON
{
  "hex": "#4a400b",
  "rgb": {
    "r": 74,
    "g": 64,
    "b": 11
  },
  "hsl": {
    "h": 50.476,
    "s": 74.118,
    "l": 16.667
  },
  "oklch": {
    "l": 0.37124,
    "c": 0.06987,
    "h": 97.9
  },
  "luminance": 0.05147
}

Semantic roles & 50–950 ramp

primary
#4A400B
secondary
#2B3986
accent
#55F137
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0A0802
muted
#7C7B78

Preview Lab

Preview with #4A400B

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

Preview Lab → · Contrast checker → · Palette generator →

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