#4D5114#4D5114

#4D5114 is a dark, moderate yellow. Relative luminance 0.075; OKLCH L 41.8% C 0.082 H 113.1°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#4D5114
RGBrgb(77, 81, 20)
HSLhsl(64, 60%, 20%)
HSVhsv(64, 75%, 32%)
CMYKcmyk(4.9%, 0%, 75.3%, 68.2%)
CIE-LABlab(32.95, -10.48, 33.55)
CIE-LCHlch(32.95, 35.15, 107.34°)
OKLaboklab(41.84% -0.032 0.075)
OKLCHoklch(41.84% 0.082 113.1)
XYZxyz(6.1294, 7.5133, 1.7890)
Luminance0.0751 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5114 #181451
analogous
#513614 #4D5114 #2F5114
triadic
#4D5114 #144D51 #51144D
tetradic
#4D5114 #145136 #181451 #51142F
square
#4D5114 #145136 #181451 #51142F
split-complementary
#4D5114 #142F51 #361451
monochromatic
#171906 #1E2008 #4D5114 #7C8220 #AAB32C

Accessibility & contrast

On white

8.39
#4D5114 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#4D5114 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D5114
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5114#FFFFFF#000000##FFFFFF
##4D51141.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D0A
Deuteranopia (green-blind)
#584E19
Tritanopia (blue-blind)
#534C45
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4d5114;
/* rgb */ color: rgb(77, 81, 20);
/* oklch */ color: oklch(41.8% 0.082 113.1);
Tailwind
colors: {
  custom: {
    50: '#818156',
    500: '#4d5114',
    950: '#000000',
  },
}
SCSS
$custom: #4d5114;
$custom-light: #818156;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5114",
  "rgb": {
    "r": 77,
    "g": 81,
    "b": 20
  },
  "hsl": {
    "h": 63.934,
    "s": 60.396,
    "l": 19.804
  },
  "oklch": {
    "l": 0.41837,
    "c": 0.0815,
    "h": 113.1
  },
  "luminance": 0.07513
}

Semantic roles & 50–950 ramp

primary
#4D5114
secondary
#3D3889
accent
#44E44F
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4D5114

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

Preview Lab → · Contrast checker → · Palette generator →

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