#4A420A#4A420A

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

Color values

HEX#4A420A
RGBrgb(74, 66, 10)
HSLhsl(53, 76%, 16%)
HSVhsv(53, 86%, 29%)
CMYKcmyk(0%, 10.8%, 86.5%, 71%)
CIE-LABlab(27.78, -3.52, 32.63)
CIE-LCHlch(27.78, 32.82, 96.16°)
OKLaboklab(37.62% -0.0134 0.071)
OKLCHoklch(37.62% 0.072 100.7)
XYZxyz(4.8273, 5.3744, 1.0702)
Luminance0.0537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A420A #0A124A
analogous
#4A220A #4A420A #324A0A
triadic
#4A420A #0A4A42 #420A4A
tetradic
#4A420A #0A4A22 #0A124A #4A0A32
square
#4A420A #0A4A22 #0A124A #4A0A32
split-complementary
#4A420A #0A324A #220A4A
monochromatic
#1B1804 #1B1804 #4A420A #807211 #B6A219

Accessibility & contrast

On white

10.12
#4A420A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#4A420A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A420A
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A420A#FFFFFF#000000##FFFFFF
##4A420A1.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494001
Deuteranopia (green-blind)
#4C430E
Tritanopia (blue-blind)
#513C38
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4a420a;
/* rgb */ color: rgb(74, 66, 10);
/* oklch */ color: oklch(37.6% 0.072 100.7);
Tailwind
colors: {
  custom: {
    50: '#7f764f',
    500: '#4a420a',
    950: '#000000',
  },
}
SCSS
$custom: #4a420a;
$custom-light: #7f764f;
$custom-dark: #000000;
JSON
{
  "hex": "#4a420a",
  "rgb": {
    "r": 74,
    "g": 66,
    "b": 10
  },
  "hsl": {
    "h": 52.5,
    "s": 76.19,
    "l": 16.471
  },
  "oklch": {
    "l": 0.37618,
    "c": 0.07228,
    "h": 100.7
  },
  "luminance": 0.05374
}

Semantic roles & 50–950 ramp

primary
#4A420A
secondary
#293587
accent
#4DF335
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0A0802
muted
#7C7B78

Preview Lab

Preview with #4A420A

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

Preview Lab → · Contrast checker → · Palette generator →

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