#4A420D#4A420D

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

Color values

HEX#4A420D
RGBrgb(74, 66, 13)
HSLhsl(52, 70%, 17%)
HSVhsv(52, 82%, 29%)
CMYKcmyk(0%, 10.8%, 82.4%, 71%)
CIE-LABlab(27.80, -3.38, 31.45)
CIE-LCHlch(27.80, 31.63, 96.14°)
OKLaboklab(37.64% -0.0126 0.0692)
OKLCHoklch(37.64% 0.07 100.4)
XYZxyz(4.8451, 5.3816, 1.1642)
Luminance0.0538 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A420D #0D154A
analogous
#4A240D #4A420D #344A0D
triadic
#4A420D #0D4A42 #420D4A
tetradic
#4A420D #0D4A24 #0D154A #4A0D34
square
#4A420D #0D4A24 #0D154A #4A0D34
split-complementary
#4A420D #0D344A #240D4A
monochromatic
#1A1705 #1A1705 #4A420D #7E7016 #B29F1F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A420D#FFFFFF#000000##FFFFFF
##4A420D1.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)
#494004
Deuteranopia (green-blind)
#4B4311
Tritanopia (blue-blind)
#503D38
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4a420d;
/* rgb */ color: rgb(74, 66, 13);
/* oklch */ color: oklch(37.6% 0.070 100.4);
Tailwind
colors: {
  custom: {
    50: '#7f7650',
    500: '#4a420d',
    950: '#000000',
  },
}
SCSS
$custom: #4a420d;
$custom-light: #7f7650;
$custom-dark: #000000;
JSON
{
  "hex": "#4a420d",
  "rgb": {
    "r": 74,
    "g": 66,
    "b": 13
  },
  "hsl": {
    "h": 52.131,
    "s": 70.115,
    "l": 17.059
  },
  "oklch": {
    "l": 0.3764,
    "c": 0.07034,
    "h": 100.4
  },
  "luminance": 0.05381
}

Semantic roles & 50–950 ramp

primary
#4A420D
secondary
#2E3985
accent
#52ED3B
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0A0802
muted
#7C7B78

Preview Lab

Preview with #4A420D

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

Preview Lab → · Contrast checker → · Palette generator →

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