#4D5211#4D5211

#4D5211 is a dark, moderate yellow. Relative luminance 0.077; OKLCH L 42.1% C 0.085 H 113.9°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#4D5211
RGBrgb(77, 82, 17)
HSLhsl(65, 66%, 19%)
HSVhsv(65, 79%, 32%)
CMYKcmyk(6.1%, 0%, 79.3%, 67.8%)
CIE-LABlab(33.25, -11.23, 35.10)
CIE-LCHlch(33.25, 36.86, 107.75°)
OKLaboklab(42.07% -0.0344 0.0777)
OKLCHoklch(42.07% 0.085 113.9)
XYZxyz(6.1792, 7.6530, 1.6819)
Luminance0.0765 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5211 #161152
analogous
#523711 #4D5211 #2D5211
triadic
#4D5211 #114D52 #52114D
tetradic
#4D5211 #115237 #161152 #52112D
square
#4D5211 #115237 #161152 #52112D
split-complementary
#4D5211 #112D52 #371152
monochromatic
#181905 #1D1F06 #4D5211 #7D851C #ACB726

Accessibility & contrast

On white

8.30
#4D5211 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#4D5211 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D5211
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5211#FFFFFF#000000##FFFFFF
##4D52111.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E05
Deuteranopia (green-blind)
#584F16
Tritanopia (blue-blind)
#534D46
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4d5211;
/* rgb */ color: rgb(77, 82, 17);
/* oklch */ color: oklch(42.1% 0.085 113.9);
Tailwind
colors: {
  custom: {
    50: '#818255',
    500: '#4d5211',
    950: '#000000',
  },
}
SCSS
$custom: #4d5211;
$custom-light: #818255;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5211",
  "rgb": {
    "r": 77,
    "g": 82,
    "b": 17
  },
  "hsl": {
    "h": 64.615,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.42071,
    "c": 0.08494,
    "h": 113.9
  },
  "luminance": 0.07653
}

Semantic roles & 50–950 ramp

primary
#4D5211
secondary
#3A348B
accent
#3FE94C
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4D5211

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

Preview Lab → · Contrast checker → · Palette generator →

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