#4D4A19#4D4A19

#4D4A19 is a dark, moderate yellow. Relative luminance 0.065; OKLCH L 40.1% C 0.069 H 105.8°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#4D4A19
RGBrgb(77, 74, 25)
HSLhsl(57, 51%, 20%)
HSVhsv(57, 68%, 30%)
CMYKcmyk(0%, 3.9%, 67.5%, 69.8%)
CIE-LABlab(30.75, -5.97, 28.88)
CIE-LCHlch(30.75, 29.49, 101.67°)
OKLaboklab(40.1% -0.0187 0.066)
OKLCHoklch(40.1% 0.069 105.8)
XYZxyz(5.6850, 6.5457, 1.8835)
Luminance0.0655 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4A19 #191C4D
analogous
#4D3019 #4D4A19 #364D19
triadic
#4D4A19 #194D4A #4A194D
tetradic
#4D4A19 #194D30 #191C4D #4D1936
square
#4D4A19 #194D30 #191C4D #4D1936
split-complementary
#4D4A19 #19364D #30194D
monochromatic
#171608 #1F1E0A #4D4A19 #7B7628 #A9A337

Accessibility & contrast

On white

9.09
#4D4A19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#4D4A19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4A19
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4A19#FFFFFF#000000##FFFFFF
##4D4A191.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514713
Deuteranopia (green-blind)
#52491C
Tritanopia (blue-blind)
#534540
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4d4a19;
/* rgb */ color: rgb(77, 74, 25);
/* oklch */ color: oklch(40.1% 0.069 105.8);
Tailwind
colors: {
  custom: {
    50: '#817c58',
    500: '#4d4a19',
    950: '#000000',
  },
}
SCSS
$custom: #4d4a19;
$custom-light: #817c58;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4a19",
  "rgb": {
    "r": 77,
    "g": 74,
    "b": 25
  },
  "hsl": {
    "h": 56.538,
    "s": 50.98,
    "l": 20
  },
  "oklch": {
    "l": 0.40096,
    "c": 0.0686,
    "h": 105.8
  },
  "luminance": 0.06546
}

Semantic roles & 50–950 ramp

primary
#4D4A19
secondary
#3E4283
accent
#55DA4D
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0A0903
muted
#7C7B78

Preview Lab

Preview with #4D4A19

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

Preview Lab → · Contrast checker → · Palette generator →

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