#4A4912#4A4912

#4A4912 is a dark, moderate yellow. Relative luminance 0.063; OKLCH L 39.5% C 0.074 H 108.3°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#4A4912
RGBrgb(74, 73, 18)
HSLhsl(59, 61%, 18%)
HSVhsv(59, 76%, 29%)
CMYKcmyk(0%, 1.4%, 75.7%, 71%)
CIE-LABlab(30.07, -7.37, 31.47)
CIE-LCHlch(30.07, 32.33, 103.18°)
OKLaboklab(39.46% -0.0233 0.0703)
OKLCHoklch(39.46% 0.074 108.3)
XYZxyz(5.3160, 6.2648, 1.5013)
Luminance0.0626 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4912 #12134A
analogous
#4A2D12 #4A4912 #2F4A12
triadic
#4A4912 #124A49 #49124A
tetradic
#4A4912 #124A2D #12134A #4A122F
square
#4A4912 #124A2D #12134A #4A122F
split-complementary
#4A4912 #122F4A #2D124A
monochromatic
#191806 #191806 #4A4912 #7B7A1E #ACAA2A

Accessibility & contrast

On white

9.32
#4A4912 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#4A4912 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A4912
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4912#FFFFFF#000000##FFFFFF
##4A49121.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50460A
Deuteranopia (green-blind)
#504816
Tritanopia (blue-blind)
#50443E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4a4912;
/* rgb */ color: rgb(74, 73, 18);
/* oklch */ color: oklch(39.5% 0.074 108.3);
Tailwind
colors: {
  custom: {
    50: '#7f7b54',
    500: '#4a4912',
    950: '#000000',
  },
}
SCSS
$custom: #4a4912;
$custom-light: #7f7b54;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4912",
  "rgb": {
    "r": 74,
    "g": 73,
    "b": 18
  },
  "hsl": {
    "h": 58.929,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.39463,
    "c": 0.07407,
    "h": 108.3
  },
  "luminance": 0.06265
}

Semantic roles & 50–950 ramp

primary
#4A4912
secondary
#353683
accent
#47E444
background
#F7F7F4
surface
#EEEDE8
border
#C9C8C4
text
#0A0903
muted
#7C7B78

Preview Lab

Preview with #4A4912

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

Preview Lab → · Contrast checker → · Palette generator →

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