#4A420B#4A420B

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

Color values

HEX#4A420B
RGBrgb(74, 66, 11)
HSLhsl(52, 74%, 17%)
HSVhsv(52, 85%, 29%)
CMYKcmyk(0%, 10.8%, 85.1%, 71%)
CIE-LABlab(27.78, -3.48, 32.25)
CIE-LCHlch(27.78, 32.44, 96.16°)
OKLaboklab(37.63% -0.0132 0.0705)
OKLCHoklch(37.63% 0.072 100.6)
XYZxyz(4.8329, 5.3767, 1.0998)
Luminance0.0538 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A420B #0B134A
analogous
#4A230B #4A420B #334A0B
triadic
#4A420B #0B4A42 #420B4A
tetradic
#4A420B #0B4A23 #0B134A #4A0B33
square
#4A420B #0B4A23 #0B134A #4A0B33
split-complementary
#4A420B #0B334A #230B4A
monochromatic
#1B1804 #1B1804 #4A420B #7F7213 #B5A11B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A420B#FFFFFF#000000##FFFFFF
##4A420B1.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494002
Deuteranopia (green-blind)
#4B430F
Tritanopia (blue-blind)
#503C38
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4a420b;
/* rgb */ color: rgb(74, 66, 11);
/* oklch */ color: oklch(37.6% 0.072 100.6);
Tailwind
colors: {
  custom: {
    50: '#7f764f',
    500: '#4a420b',
    950: '#000000',
  },
}
SCSS
$custom: #4a420b;
$custom-light: #7f764f;
$custom-dark: #000000;
JSON
{
  "hex": "#4a420b",
  "rgb": {
    "r": 74,
    "g": 66,
    "b": 11
  },
  "hsl": {
    "h": 52.381,
    "s": 74.118,
    "l": 16.667
  },
  "oklch": {
    "l": 0.37625,
    "c": 0.07167,
    "h": 100.6
  },
  "luminance": 0.05376
}

Semantic roles & 50–950 ramp

primary
#4A420B
secondary
#2B3686
accent
#4FF137
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0A0802
muted
#7C7B78

Preview Lab

Preview with #4A420B

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

Preview Lab → · Contrast checker → · Palette generator →

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