#4A511D#4A511D

#4A511D is a dark, moderate yellow. Relative luminance 0.074; OKLCH L 41.7% C 0.074 H 116.2°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#4A511D
RGBrgb(74, 81, 29)
HSLhsl(68, 47%, 22%)
HSVhsv(68, 64%, 32%)
CMYKcmyk(8.6%, 0%, 64.2%, 68.2%)
CIE-LABlab(32.77, -11.24, 28.95)
CIE-LCHlch(32.77, 31.05, 111.22°)
OKLaboklab(41.65% -0.0328 0.0668)
OKLCHoklch(41.65% 0.074 116.2)
XYZxyz(5.9884, 7.4295, 2.2807)
Luminance0.0743 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A511D #241D51
analogous
#513E1D #4A511D #30511D
triadic
#4A511D #1D4A51 #511D4A
tetradic
#4A511D #1D513E #241D51 #511D30
square
#4A511D #1D513E #241D51 #511D30
split-complementary
#4A511D #1D3051 #3E1D51
monochromatic
#151708 #21240D #4A511D #737E2D #9CAB3D

Accessibility & contrast

On white

8.45
#4A511D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#4A511D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A511D
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A511D#FFFFFF#000000##FFFFFF
##4A511D1.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D17
Deuteranopia (green-blind)
#564D20
Tritanopia (blue-blind)
#4F4C46
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4a511d;
/* rgb */ color: rgb(74, 81, 29);
/* oklch */ color: oklch(41.7% 0.074 116.2);
Tailwind
colors: {
  custom: {
    50: '#7e815b',
    500: '#4a511d',
    950: '#000000',
  },
}
SCSS
$custom: #4a511d;
$custom-light: #7e815b;
$custom-dark: #000000;
JSON
{
  "hex": "#4a511d",
  "rgb": {
    "r": 74,
    "g": 81,
    "b": 29
  },
  "hsl": {
    "h": 68.077,
    "s": 47.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.41651,
    "c": 0.07447,
    "h": 116.2
  },
  "luminance": 0.07429
}

Semantic roles & 50–950 ramp

primary
#4A511D
secondary
#4D4486
accent
#51D763
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4A511D

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

Preview Lab → · Contrast checker → · Palette generator →

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