#4D400E#4D400E

#4D400E is a dark, moderate yellow. Relative luminance 0.053; OKLCH L 37.5% C 0.068 H 93.9°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#4D400E
RGBrgb(77, 64, 14)
HSLhsl(48, 69%, 18%)
HSVhsv(48, 82%, 30%)
CMYKcmyk(0%, 16.9%, 81.8%, 69.8%)
CIE-LABlab(27.51, -0.52, 30.86)
CIE-LCHlch(27.51, 30.86, 90.97°)
OKLaboklab(37.49% -0.0046 0.068)
OKLCHoklch(37.49% 0.068 93.9)
XYZxyz(4.9735, 5.2766, 1.1719)
Luminance0.0528 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D400E #0E1B4D
analogous
#4D200E #4D400E #3A4D0E
triadic
#4D400E #0E4D40 #400E4D
tetradic
#4D400E #0E4D20 #0E1B4D #4D0E3A
square
#4D400E #0E4D20 #0E1B4D #4D0E3A
split-complementary
#4D400E #0E3A4D #200E4D
monochromatic
#1A1605 #1A1605 #4D400E #816B17 #B59621

Accessibility & contrast

On white

10.22
#4D400E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4D400E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D400E
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D400E#FFFFFF#000000##FFFFFF
##4D400E1.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F06
Deuteranopia (green-blind)
#4B4311
Tritanopia (blue-blind)
#543A36
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4d400e;
/* rgb */ color: rgb(77, 64, 14);
/* oklch */ color: oklch(37.5% 0.068 93.9);
Tailwind
colors: {
  custom: {
    50: '#827450',
    500: '#4d400e',
    950: '#000000',
  },
}
SCSS
$custom: #4d400e;
$custom-light: #827450;
$custom-dark: #000000;
JSON
{
  "hex": "#4d400e",
  "rgb": {
    "r": 77,
    "g": 64,
    "b": 14
  },
  "hsl": {
    "h": 47.619,
    "s": 69.231,
    "l": 17.843
  },
  "oklch": {
    "l": 0.37493,
    "c": 0.06818,
    "h": 93.9
  },
  "luminance": 0.05276
}

Semantic roles & 50–950 ramp

primary
#4D400E
secondary
#2F4188
accent
#60EC3C
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0802
muted
#7C7B78

Preview Lab

Preview with #4D400E

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

Preview Lab → · Contrast checker → · Palette generator →

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