#4A400F#4A400F

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

Color values

HEX#4A400F
RGBrgb(74, 64, 15)
HSLhsl(50, 66%, 17%)
HSVhsv(50, 80%, 29%)
CMYKcmyk(0%, 13.5%, 79.7%, 71%)
CIE-LABlab(27.18, -2.02, 29.97)
CIE-LCHlch(27.18, 30.04, 93.86°)
OKLaboklab(37.16% -0.0085 0.0665)
OKLCHoklch(37.16% 0.067 97.3)
XYZxyz(4.7439, 5.1574, 1.1974)
Luminance0.0516 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A400F #0F194A
analogous
#4A230F #4A400F #364A0F
triadic
#4A400F #0F4A40 #400F4A
tetradic
#4A400F #0F4A23 #0F194A #4A0F36
square
#4A400F #0F4A23 #0F194A #4A0F36
split-complementary
#4A400F #0F364A #230F4A
monochromatic
#191605 #191605 #4A400F #7D6C19 #B09824

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A400F#FFFFFF#000000##FFFFFF
##4A400F1.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)
#473E08
Deuteranopia (green-blind)
#4A4212
Tritanopia (blue-blind)
#503B36
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4a400f;
/* rgb */ color: rgb(74, 64, 15);
/* oklch */ color: oklch(37.2% 0.067 97.3);
Tailwind
colors: {
  custom: {
    50: '#7f7451',
    500: '#4a400f',
    950: '#000000',
  },
}
SCSS
$custom: #4a400f;
$custom-light: #7f7451;
$custom-dark: #000000;
JSON
{
  "hex": "#4a400f",
  "rgb": {
    "r": 74,
    "g": 64,
    "b": 15
  },
  "hsl": {
    "h": 49.831,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.37156,
    "c": 0.06706,
    "h": 97.3
  },
  "luminance": 0.05157
}

Semantic roles & 50–950 ramp

primary
#4A400F
secondary
#303F84
accent
#5CE93F
background
#F7F7F4
surface
#EEEDE7
border
#C9C8C3
text
#0A0802
muted
#7C7B78

Preview Lab

Preview with #4A400F

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

Preview Lab → · Contrast checker → · Palette generator →

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