#4D5813#4D5813

#4D5813 is a dark, moderate yellow. Relative luminance 0.086; OKLCH L 43.7% C 0.091 H 118.3°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#4D5813
RGBrgb(77, 88, 19)
HSLhsl(70, 64%, 21%)
HSVhsv(70, 78%, 35%)
CMYKcmyk(12.5%, 0%, 78.4%, 65.5%)
CIE-LABlab(35.21, -14.52, 36.19)
CIE-LCHlch(35.21, 38.99, 111.86°)
OKLaboklab(43.65% -0.0433 0.0803)
OKLCHoklch(43.65% 0.091 118.3)
XYZxyz(6.6680, 8.6043, 1.9255)
Luminance0.0860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5813 #1E1358
analogous
#584013 #4D5813 #2A5813
triadic
#4D5813 #134D58 #58134D
tetradic
#4D5813 #135840 #1E1358 #58132A
square
#4D5813 #135840 #1E1358 #58132A
split-complementary
#4D5813 #132A58 #401358
monochromatic
#161905 #212608 #4D5813 #798A1E #A5BD29

Accessibility & contrast

On white

7.72
#4D5813 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#4D5813 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D5813
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5813#FFFFFF#000000##FFFFFF
##4D58131.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5306
Deuteranopia (green-blind)
#5D5319
Tritanopia (blue-blind)
#52534B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4d5813;
/* rgb */ color: rgb(77, 88, 19);
/* oklch */ color: oklch(43.7% 0.091 118.3);
Tailwind
colors: {
  custom: {
    50: '#818756',
    500: '#4d5813',
    950: '#000000',
  },
}
SCSS
$custom: #4d5813;
$custom-light: #818756;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5813",
  "rgb": {
    "r": 77,
    "g": 88,
    "b": 19
  },
  "hsl": {
    "h": 69.565,
    "s": 64.486,
    "l": 20.98
  },
  "oklch": {
    "l": 0.43651,
    "c": 0.09127,
    "h": 118.3
  },
  "luminance": 0.08604
}

Semantic roles & 50–950 ramp

primary
#4D5813
secondary
#453790
accent
#40E75B
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4D5813

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

Preview Lab → · Contrast checker → · Palette generator →

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