#4D5111#4D5111

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

Color values

HEX#4D5111
RGBrgb(77, 81, 17)
HSLhsl(64, 65%, 19%)
HSVhsv(64, 79%, 32%)
CMYKcmyk(4.9%, 0%, 79%, 68.2%)
CIE-LABlab(32.93, -10.65, 34.79)
CIE-LCHlch(32.93, 36.39, 107.02°)
OKLaboklab(41.81% -0.0328 0.077)
OKLCHoklch(41.81% 0.084 113.1)
XYZxyz(6.1044, 7.5032, 1.6569)
Luminance0.0750 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5111 #151151
analogous
#513511 #4D5111 #2D5111
triadic
#4D5111 #114D51 #51114D
tetradic
#4D5111 #115135 #151151 #51112D
square
#4D5111 #115135 #151151 #51112D
split-complementary
#4D5111 #112D51 #351151
monochromatic
#181905 #1D1E06 #4D5111 #7D841C #ADB626

Accessibility & contrast

On white

8.40
#4D5111 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D5111
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5111#FFFFFF#000000##FFFFFF
##4D51111.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d5111;
/* rgb */ color: rgb(77, 81, 17);
/* oklch */ color: oklch(41.8% 0.084 113.1);
Tailwind
colors: {
  custom: {
    50: '#818154',
    500: '#4d5111',
    950: '#000000',
  },
}
SCSS
$custom: #4d5111;
$custom-light: #818154;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5111",
  "rgb": {
    "r": 77,
    "g": 81,
    "b": 17
  },
  "hsl": {
    "h": 63.75,
    "s": 65.306,
    "l": 19.216
  },
  "oklch": {
    "l": 0.41812,
    "c": 0.08369,
    "h": 113.1
  },
  "luminance": 0.07503
}

Semantic roles & 50–950 ramp

primary
#4D5111
secondary
#39348A
accent
#40E84A
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4D5111

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

Preview Lab → · Contrast checker → · Palette generator →

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