#4D4E1F#4D4E1F

#4D4E1F is a dark, moderate yellow. Relative luminance 0.071; OKLCH L 41.2% C 0.067 H 110.1°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#4D4E1F
RGBrgb(77, 78, 31)
HSLhsl(61, 43%, 21%)
HSVhsv(61, 60%, 31%)
CMYKcmyk(1.3%, 0%, 60.3%, 69.4%)
CIE-LABlab(32.09, -7.85, 27.20)
CIE-LCHlch(32.09, 28.31, 106.09°)
OKLaboklab(41.19% -0.0232 0.0633)
OKLCHoklch(41.19% 0.067 110.1)
XYZxyz(6.0324, 7.1256, 2.3537)
Luminance0.0712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4E1F #201F4E
analogous
#4E381F #4D4E1F #364E1F
triadic
#4D4E1F #1F4D4E #4E1F4D
tetradic
#4D4E1F #1F4E38 #201F4E #4E1F36
square
#4D4E1F #1F4E38 #201F4E #4E1F36
split-complementary
#4D4E1F #1F364E #381F4E
monochromatic
#161609 #22220E #4D4E1F #787A30 #A3A642

Accessibility & contrast

On white

8.66
#4D4E1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#4D4E1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4E1F
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4E1F#FFFFFF#000000##FFFFFF
##4D4E1F1.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544B1A
Deuteranopia (green-blind)
#544C22
Tritanopia (blue-blind)
#524944
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4d4e1f;
/* rgb */ color: rgb(77, 78, 31);
/* oklch */ color: oklch(41.2% 0.067 110.1);
Tailwind
colors: {
  custom: {
    50: '#807f5c',
    500: '#4d4e1f',
    950: '#000000',
  },
}
SCSS
$custom: #4d4e1f;
$custom-light: #807f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4e1f",
  "rgb": {
    "r": 77,
    "g": 78,
    "b": 31
  },
  "hsl": {
    "h": 61.277,
    "s": 43.119,
    "l": 21.373
  },
  "oklch": {
    "l": 0.41186,
    "c": 0.06744,
    "h": 110.1
  },
  "luminance": 0.07125
}

Semantic roles & 50–950 ramp

primary
#4D4E1F
secondary
#474683
accent
#55D358
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4D4E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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