#4A4612#4A4612

#4A4612 is a dark, moderate yellow. Relative luminance 0.059; OKLCH L 38.7% C 0.071 H 104.9°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#4A4612
RGBrgb(74, 70, 18)
HSLhsl(56, 61%, 18%)
HSVhsv(56, 76%, 29%)
CMYKcmyk(0%, 5.4%, 75.7%, 71%)
CIE-LABlab(29.11, -5.55, 30.51)
CIE-LCHlch(29.11, 31.01, 100.31°)
OKLaboklab(38.7% -0.0182 0.0683)
OKLCHoklch(38.7% 0.071 104.9)
XYZxyz(5.1236, 5.8800, 1.4372)
Luminance0.0588 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4612 #12164A
analogous
#4A2A12 #4A4612 #324A12
triadic
#4A4612 #124A46 #46124A
tetradic
#4A4612 #124A2A #12164A #4A1232
square
#4A4612 #124A2A #12164A #4A1232
split-complementary
#4A4612 #12324A #2A124A
monochromatic
#191706 #191706 #4A4612 #7B751E #ACA32A

Accessibility & contrast

On white

9.65
#4A4612 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#4A4612 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A4612
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4612#FFFFFF#000000##FFFFFF
##4A46121.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D430A
Deuteranopia (green-blind)
#4E4615
Tritanopia (blue-blind)
#50413C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4a4612;
/* rgb */ color: rgb(74, 70, 18);
/* oklch */ color: oklch(38.7% 0.071 104.9);
Tailwind
colors: {
  custom: {
    50: '#7f7953',
    500: '#4a4612',
    950: '#000000',
  },
}
SCSS
$custom: #4a4612;
$custom-light: #7f7953;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4612",
  "rgb": {
    "r": 74,
    "g": 70,
    "b": 18
  },
  "hsl": {
    "h": 55.714,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.38695,
    "c": 0.07065,
    "h": 104.9
  },
  "luminance": 0.0588
}

Semantic roles & 50–950 ramp

primary
#4A4612
secondary
#353A83
accent
#4FE444
background
#F7F7F4
surface
#EEEDE7
border
#C9C8C3
text
#0A0903
muted
#7C7B78

Preview Lab

Preview with #4A4612

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

Preview Lab → · Contrast checker → · Palette generator →

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