#4A4512#4A4512

#4A4512 is a dark, moderate yellow. Relative luminance 0.058; OKLCH L 38.4% C 0.070 H 103.7°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#4A4512
RGBrgb(74, 69, 18)
HSLhsl(55, 61%, 18%)
HSVhsv(55, 76%, 29%)
CMYKcmyk(0%, 6.8%, 75.7%, 71%)
CIE-LABlab(28.79, -4.94, 30.18)
CIE-LCHlch(28.79, 30.59, 99.30°)
OKLaboklab(38.44% -0.0164 0.0676)
OKLCHoklch(38.44% 0.07 103.7)
XYZxyz(5.0615, 5.7560, 1.4165)
Luminance0.0576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4512 #12174A
analogous
#4A2912 #4A4512 #334A12
triadic
#4A4512 #124A45 #45124A
tetradic
#4A4512 #124A29 #12174A #4A1233
square
#4A4512 #124A29 #12174A #4A1233
split-complementary
#4A4512 #12334A #29124A
monochromatic
#191706 #191706 #4A4512 #7B731E #ACA12A

Accessibility & contrast

On white

9.76
#4A4512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#4A4512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A4512
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4512#FFFFFF#000000##FFFFFF
##4A45121.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C420B
Deuteranopia (green-blind)
#4D4515
Tritanopia (blue-blind)
#50403B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4a4512;
/* rgb */ color: rgb(74, 69, 18);
/* oklch */ color: oklch(38.4% 0.070 103.7);
Tailwind
colors: {
  custom: {
    50: '#7f7853',
    500: '#4a4512',
    950: '#000000',
  },
}
SCSS
$custom: #4a4512;
$custom-light: #7f7853;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4512",
  "rgb": {
    "r": 74,
    "g": 69,
    "b": 18
  },
  "hsl": {
    "h": 54.643,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.38441,
    "c": 0.06956,
    "h": 103.7
  },
  "luminance": 0.05756
}

Semantic roles & 50–950 ramp

primary
#4A4512
secondary
#353C83
accent
#52E444
background
#F7F7F4
surface
#EEEDE7
border
#C9C8C3
text
#0A0803
muted
#7C7B78

Preview Lab

Preview with #4A4512

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

Preview Lab → · Contrast checker → · Palette generator →

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