#4D4710#4D4710

#4D4710 is a dark, moderate yellow. Relative luminance 0.061; OKLCH L 39.2% C 0.073 H 103.0°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#4D4710
RGBrgb(77, 71, 16)
HSLhsl(54, 66%, 18%)
HSVhsv(54, 79%, 30%)
CMYKcmyk(0%, 7.8%, 79.2%, 69.8%)
CIE-LABlab(29.72, -4.75, 32.12)
CIE-LCHlch(29.72, 32.47, 98.42°)
OKLaboklab(39.25% -0.0164 0.0711)
OKLCHoklch(39.25% 0.073 103)
XYZxyz(5.4076, 6.1219, 1.3869)
Luminance0.0612 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4710 #10164D
analogous
#4D2810 #4D4710 #344D10
triadic
#4D4710 #104D47 #47104D
tetradic
#4D4710 #104D28 #10164D #4D1034
square
#4D4710 #104D28 #10164D #4D1034
split-complementary
#4D4710 #10344D #28104D
monochromatic
#191705 #1A1805 #4D4710 #80761B #B2A425

Accessibility & contrast

On white

9.44
#4D4710 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#4D4710 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4710
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4710#FFFFFF#000000##FFFFFF
##4D47101.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4407
Deuteranopia (green-blind)
#504714
Tritanopia (blue-blind)
#53413C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4d4710;
/* rgb */ color: rgb(77, 71, 16);
/* oklch */ color: oklch(39.2% 0.073 103.0);
Tailwind
colors: {
  custom: {
    50: '#817952',
    500: '#4d4710',
    950: '#000000',
  },
}
SCSS
$custom: #4d4710;
$custom-light: #817952;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4710",
  "rgb": {
    "r": 77,
    "g": 71,
    "b": 16
  },
  "hsl": {
    "h": 54.098,
    "s": 65.591,
    "l": 18.235
  },
  "oklch": {
    "l": 0.39249,
    "c": 0.07299,
    "h": 103
  },
  "luminance": 0.06122
}

Semantic roles & 50–950 ramp

primary
#4D4710
secondary
#323A87
accent
#50E93F
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #4D4710

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

Preview Lab → · Contrast checker → · Palette generator →

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