#4D5315#4D5315

#4D5315 is a dark, moderate yellow. Relative luminance 0.078; OKLCH L 42.4% C 0.083 H 114.8°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#4D5315
RGBrgb(77, 83, 21)
HSLhsl(66, 60%, 20%)
HSVhsv(66, 75%, 33%)
CMYKcmyk(7.2%, 0%, 74.7%, 67.5%)
CIE-LABlab(33.60, -11.57, 33.76)
CIE-LCHlch(33.60, 35.69, 108.91°)
OKLaboklab(42.36% -0.0349 0.0756)
OKLCHoklch(42.36% 0.083 114.8)
XYZxyz(6.2893, 7.8185, 1.8871)
Luminance0.0782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5315 #1B1553
analogous
#533A15 #4D5315 #2E5315
triadic
#4D5315 #154D53 #53154D
tetradic
#4D5315 #15533A #1B1553 #53152E
square
#4D5315 #15533A #1B1553 #53152E
split-complementary
#4D5315 #152E53 #3A1553
monochromatic
#171806 #202209 #4D5315 #7A8421 #A8B52E

Accessibility & contrast

On white

8.19
#4D5315 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#4D5315 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D5315
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5315#FFFFFF#000000##FFFFFF
##4D53151.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594F0B
Deuteranopia (green-blind)
#59501A
Tritanopia (blue-blind)
#524E47
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4d5315;
/* rgb */ color: rgb(77, 83, 21);
/* oklch */ color: oklch(42.4% 0.083 114.8);
Tailwind
colors: {
  custom: {
    50: '#818357',
    500: '#4d5315',
    950: '#000000',
  },
}
SCSS
$custom: #4d5315;
$custom-light: #818357;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5315",
  "rgb": {
    "r": 77,
    "g": 83,
    "b": 21
  },
  "hsl": {
    "h": 65.806,
    "s": 59.615,
    "l": 20.392
  },
  "oklch": {
    "l": 0.42363,
    "c": 0.08328,
    "h": 114.8
  },
  "luminance": 0.07818
}

Semantic roles & 50–950 ramp

primary
#4D5315
secondary
#41398B
accent
#45E354
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4D5315

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

Preview Lab → · Contrast checker → · Palette generator →

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