#4A420C#4A420C

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

Color values

HEX#4A420C
RGBrgb(74, 66, 12)
HSLhsl(52, 72%, 17%)
HSVhsv(52, 84%, 29%)
CMYKcmyk(0%, 10.8%, 83.8%, 71%)
CIE-LABlab(27.79, -3.43, 31.86)
CIE-LCHlch(27.79, 32.04, 96.15°)
OKLaboklab(37.63% -0.0129 0.0698)
OKLCHoklch(37.63% 0.071 100.5)
XYZxyz(4.8388, 5.3790, 1.1311)
Luminance0.0538 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A420C #0C144A
analogous
#4A230C #4A420C #334A0C
triadic
#4A420C #0C4A42 #420C4A
tetradic
#4A420C #0C4A23 #0C144A #4A0C33
square
#4A420C #0C4A23 #0C144A #4A0C33
split-complementary
#4A420C #0C334A #230C4A
monochromatic
#1A1704 #1A1704 #4A420C #7F7115 #B3A01D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A420C#FFFFFF#000000##FFFFFF
##4A420C1.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)
#494003
Deuteranopia (green-blind)
#4B4310
Tritanopia (blue-blind)
#503C38
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4a420c;
/* rgb */ color: rgb(74, 66, 12);
/* oklch */ color: oklch(37.6% 0.071 100.5);
Tailwind
colors: {
  custom: {
    50: '#7f7650',
    500: '#4a420c',
    950: '#000000',
  },
}
SCSS
$custom: #4a420c;
$custom-light: #7f7650;
$custom-dark: #000000;
JSON
{
  "hex": "#4a420c",
  "rgb": {
    "r": 74,
    "g": 66,
    "b": 12
  },
  "hsl": {
    "h": 52.258,
    "s": 72.093,
    "l": 16.863
  },
  "oklch": {
    "l": 0.37632,
    "c": 0.07102,
    "h": 100.5
  },
  "luminance": 0.05379
}

Semantic roles & 50–950 ramp

primary
#4A420C
secondary
#2C3886
accent
#50EF39
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0A0802
muted
#7C7B78

Preview Lab

Preview with #4A420C

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

Preview Lab → · Contrast checker → · Palette generator →

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