#4D4E1A#4D4E1A

#4D4E1A is a dark, moderate yellow. Relative luminance 0.071; OKLCH L 41.1% C 0.073 H 110.2°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#4D4E1A
RGBrgb(77, 78, 26)
HSLhsl(61, 50%, 20%)
HSVhsv(61, 67%, 31%)
CMYKcmyk(1.3%, 0%, 66.7%, 69.4%)
CIE-LABlab(32.04, -8.28, 29.76)
CIE-LCHlch(32.04, 30.89, 105.55°)
OKLaboklab(41.13% -0.0251 0.068)
OKLCHoklch(41.13% 0.073 110.2)
XYZxyz(5.9716, 7.1013, 2.0332)
Luminance0.0710 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4E1A #1B1A4E
analogous
#4E351A #4D4E1A #334E1A
triadic
#4D4E1A #1A4D4E #4E1A4D
tetradic
#4D4E1A #1A4E35 #1B1A4E #4E1A33
square
#4D4E1A #1A4E35 #1B1A4E #4E1A33
split-complementary
#4D4E1A #1A334E #351A4E
monochromatic
#171708 #20200B #4D4E1A #7A7C29 #A8AA39

Accessibility & contrast

On white

8.68
#4D4E1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D4E1A
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4E1A#FFFFFF#000000##FFFFFF
##4D4E1A1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544B14
Deuteranopia (green-blind)
#554C1D
Tritanopia (blue-blind)
#534943
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4d4e1a;
/* rgb */ color: rgb(77, 78, 26);
/* oklch */ color: oklch(41.1% 0.073 110.2);
Tailwind
colors: {
  custom: {
    50: '#817f59',
    500: '#4d4e1a',
    950: '#000000',
  },
}
SCSS
$custom: #4d4e1a;
$custom-light: #817f59;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4e1a",
  "rgb": {
    "r": 77,
    "g": 78,
    "b": 26
  },
  "hsl": {
    "h": 61.154,
    "s": 50,
    "l": 20.392
  },
  "oklch": {
    "l": 0.41125,
    "c": 0.07252,
    "h": 110.2
  },
  "luminance": 0.07101
}

Semantic roles & 50–950 ramp

primary
#4D4E1A
secondary
#414084
accent
#4EDA51
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4D4E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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