#4A4709#4A4709

#4A4709 is a dark, moderate yellow. Relative luminance 0.060; OKLCH L 38.9% C 0.078 H 106.6°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#4A4709
RGBrgb(74, 71, 9)
HSLhsl(57, 78%, 16%)
HSVhsv(57, 88%, 29%)
CMYKcmyk(0%, 4.1%, 87.8%, 71%)
CIE-LABlab(29.37, -6.63, 34.43)
CIE-LCHlch(29.37, 35.06, 100.90°)
OKLaboklab(38.88% -0.0222 0.0746)
OKLCHoklch(38.88% 0.078 106.6)
XYZxyz(5.1268, 5.9822, 1.1430)
Luminance0.0598 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4709 #090C4A
analogous
#4A2709 #4A4709 #2D4A09
triadic
#4A4709 #094A47 #47094A
tetradic
#4A4709 #094A27 #090C4A #4A092D
square
#4A4709 #094A27 #090C4A #4A092D
split-complementary
#4A4709 #092D4A #27094A
monochromatic
#1B1A03 #1B1A03 #4A4709 #817B10 #B7B016

Accessibility & contrast

On white

9.56
#4A4709 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#4A4709 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A4709
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4709#FFFFFF#000000##FFFFFF
##4A47091.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4400
Deuteranopia (green-blind)
#4F460E
Tritanopia (blue-blind)
#50423C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4a4709;
/* rgb */ color: rgb(74, 71, 9);
/* oklch */ color: oklch(38.9% 0.078 106.6);
Tailwind
colors: {
  custom: {
    50: '#7f794f',
    500: '#4a4709',
    950: '#000000',
  },
}
SCSS
$custom: #4a4709;
$custom-light: #7f794f;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4709",
  "rgb": {
    "r": 74,
    "g": 71,
    "b": 9
  },
  "hsl": {
    "h": 57.231,
    "s": 78.313,
    "l": 16.275
  },
  "oklch": {
    "l": 0.38883,
    "c": 0.07788,
    "h": 106.6
  },
  "luminance": 0.05982
}

Semantic roles & 50–950 ramp

primary
#4A4709
secondary
#272C87
accent
#3CF533
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0A0902
muted
#7C7B78

Preview Lab

Preview with #4A4709

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

Preview Lab → · Contrast checker → · Palette generator →

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