#4A400C#4A400C

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

Color values

HEX#4A400C
RGBrgb(74, 64, 12)
HSLhsl(50, 72%, 17%)
HSVhsv(50, 84%, 29%)
CMYKcmyk(0%, 13.5%, 83.8%, 71%)
CIE-LABlab(27.16, -2.18, 31.27)
CIE-LCHlch(27.16, 31.34, 94.00°)
OKLaboklab(37.13% -0.0094 0.0686)
OKLCHoklch(37.13% 0.069 97.8)
XYZxyz(4.7240, 5.1494, 1.0929)
Luminance0.0515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A400C #0C164A
analogous
#4A210C #4A400C #354A0C
triadic
#4A400C #0C4A40 #400C4A
tetradic
#4A400C #0C4A21 #0C164A #4A0C35
square
#4A400C #0C4A21 #0C164A #4A0C35
split-complementary
#4A400C #0C354A #210C4A
monochromatic
#1A1704 #1A1704 #4A400C #7F6E15 #B39B1D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A400C#FFFFFF#000000##FFFFFF
##4A400C1.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)
#473E04
Deuteranopia (green-blind)
#4A420F
Tritanopia (blue-blind)
#513A36
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4a400c;
/* rgb */ color: rgb(74, 64, 12);
/* oklch */ color: oklch(37.1% 0.069 97.8);
Tailwind
colors: {
  custom: {
    50: '#7f744f',
    500: '#4a400c',
    950: '#000000',
  },
}
SCSS
$custom: #4a400c;
$custom-light: #7f744f;
$custom-dark: #000000;
JSON
{
  "hex": "#4a400c",
  "rgb": {
    "r": 74,
    "g": 64,
    "b": 12
  },
  "hsl": {
    "h": 50.323,
    "s": 72.093,
    "l": 16.863
  },
  "oklch": {
    "l": 0.37131,
    "c": 0.06922,
    "h": 97.8
  },
  "luminance": 0.05149
}

Semantic roles & 50–950 ramp

primary
#4A400C
secondary
#2C3B86
accent
#56EF39
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0A0802
muted
#7C7B78

Preview Lab

Preview with #4A400C

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

Preview Lab → · Contrast checker → · Palette generator →

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