#4D540E#4D540E

#4D540E is a dark, moderate yellow. Relative luminance 0.080; OKLCH L 42.6% C 0.089 H 115.4°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#4D540E
RGBrgb(77, 84, 14)
HSLhsl(66, 71%, 19%)
HSVhsv(66, 83%, 33%)
CMYKcmyk(8.3%, 0%, 83.3%, 67.1%)
CIE-LABlab(33.88, -12.53, 36.83)
CIE-LCHlch(33.88, 38.91, 108.79°)
OKLaboklab(42.57% -0.0383 0.0807)
OKLCHoklch(42.57% 0.089 115.4)
XYZxyz(6.3103, 7.9502, 1.6175)
Luminance0.0795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D540E #150E54
analogous
#54380E #4D540E #2A540E
triadic
#4D540E #0E4D54 #540E4D
tetradic
#4D540E #0E5438 #150E54 #540E2A
square
#4D540E #0E5438 #150E54 #540E2A
split-complementary
#4D540E #0E2A54 #380E54
monochromatic
#181A04 #1D2005 #4D540E #7D8817 #ADBD1F

Accessibility & contrast

On white

8.11
#4D540E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#4D540E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D540E
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D540E#FFFFFF#000000##FFFFFF
##4D540E1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B4F00
Deuteranopia (green-blind)
#5A5014
Tritanopia (blue-blind)
#534F47
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4d540e;
/* rgb */ color: rgb(77, 84, 14);
/* oklch */ color: oklch(42.6% 0.089 115.4);
Tailwind
colors: {
  custom: {
    50: '#818453',
    500: '#4d540e',
    950: '#000000',
  },
}
SCSS
$custom: #4d540e;
$custom-light: #818453;
$custom-dark: #000000;
JSON
{
  "hex": "#4d540e",
  "rgb": {
    "r": 77,
    "g": 84,
    "b": 14
  },
  "hsl": {
    "h": 66,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.4257,
    "c": 0.08934,
    "h": 115.4
  },
  "luminance": 0.0795
}

Semantic roles & 50–950 ramp

primary
#4D540E
secondary
#392F8E
accent
#3AEE4C
background
#F8F8F5
surface
#EFEFE8
border
#CACAC4
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4D540E

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

Preview Lab → · Contrast checker → · Palette generator →

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