#4D5210#4D5210

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

Color values

HEX#4D5210
RGBrgb(77, 82, 16)
HSLhsl(65, 67%, 19%)
HSVhsv(65, 80%, 32%)
CMYKcmyk(6.1%, 0%, 80.5%, 67.8%)
CIE-LABlab(33.24, -11.29, 35.49)
CIE-LCHlch(33.24, 37.24, 107.64°)
OKLaboklab(42.06% -0.0347 0.0783)
OKLCHoklch(42.06% 0.086 113.9)
XYZxyz(6.1716, 7.6499, 1.6416)
Luminance0.0765 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5210 #151052
analogous
#523610 #4D5210 #2C5210
triadic
#4D5210 #104D52 #52104D
tetradic
#4D5210 #105236 #151052 #52102C
square
#4D5210 #105236 #151052 #52102C
split-complementary
#4D5210 #102C52 #361052
monochromatic
#181A05 #1D1F06 #4D5210 #7D851A #ADB824

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D5210#FFFFFF#000000##FFFFFF
##4D52101.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)
#594E04
Deuteranopia (green-blind)
#584F16
Tritanopia (blue-blind)
#534D45
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4d5210;
/* rgb */ color: rgb(77, 82, 16);
/* oklch */ color: oklch(42.1% 0.086 113.9);
Tailwind
colors: {
  custom: {
    50: '#818254',
    500: '#4d5210',
    950: '#000000',
  },
}
SCSS
$custom: #4d5210;
$custom-light: #818254;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5210",
  "rgb": {
    "r": 77,
    "g": 82,
    "b": 16
  },
  "hsl": {
    "h": 64.545,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.42064,
    "c": 0.08561,
    "h": 113.9
  },
  "luminance": 0.0765
}

Semantic roles & 50–950 ramp

primary
#4D5210
secondary
#39328C
accent
#3EEA4B
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4D5210

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

Preview Lab → · Contrast checker → · Palette generator →

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