#4A420F#4A420F

#4A420F is a dark, moderate yellow. Relative luminance 0.054; OKLCH L 37.7% C 0.069 H 100.1°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#4A420F
RGBrgb(74, 66, 15)
HSLhsl(52, 66%, 17%)
HSVhsv(52, 80%, 29%)
CMYKcmyk(0%, 10.8%, 79.7%, 71%)
CIE-LABlab(27.81, -3.27, 30.59)
CIE-LCHlch(27.81, 30.76, 96.10°)
OKLaboklab(37.66% -0.0121 0.0678)
OKLCHoklch(37.66% 0.069 100.1)
XYZxyz(4.8587, 5.3870, 1.2357)
Luminance0.0539 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A420F #0F174A
analogous
#4A240F #4A420F #354A0F
triadic
#4A420F #0F4A42 #420F4A
tetradic
#4A420F #0F4A24 #0F174A #4A0F35
square
#4A420F #0F4A24 #0F174A #4A0F35
split-complementary
#4A420F #0F354A #240F4A
monochromatic
#191705 #191705 #4A420F #7D6F19 #B09D24

Accessibility & contrast

On white

10.11
#4A420F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#4A420F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A420F
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A420F#FFFFFF#000000##FFFFFF
##4A420F1.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494007
Deuteranopia (green-blind)
#4B4312
Tritanopia (blue-blind)
#503D38
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4a420f;
/* rgb */ color: rgb(74, 66, 15);
/* oklch */ color: oklch(37.7% 0.069 100.1);
Tailwind
colors: {
  custom: {
    50: '#7f7651',
    500: '#4a420f',
    950: '#000000',
  },
}
SCSS
$custom: #4a420f;
$custom-light: #7f7651;
$custom-dark: #000000;
JSON
{
  "hex": "#4a420f",
  "rgb": {
    "r": 74,
    "g": 66,
    "b": 15
  },
  "hsl": {
    "h": 51.864,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.37656,
    "c": 0.06889,
    "h": 100.1
  },
  "luminance": 0.05387
}

Semantic roles & 50–950 ramp

primary
#4A420F
secondary
#303C84
accent
#56E93F
background
#F7F7F4
surface
#EEEDE7
border
#C9C8C3
text
#0A0802
muted
#7C7B78

Preview Lab

Preview with #4A420F

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

Preview Lab → · Contrast checker → · Palette generator →

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