#4D5115#4D5115

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

Color values

HEX#4D5115
RGBrgb(77, 81, 21)
HSLhsl(64, 59%, 20%)
HSVhsv(64, 74%, 32%)
CMYKcmyk(4.9%, 0%, 74.1%, 68.2%)
CIE-LABlab(32.96, -10.41, 33.11)
CIE-LCHlch(32.96, 34.71, 107.45°)
OKLaboklab(41.85% -0.0317 0.0742)
OKLCHoklch(41.85% 0.081 113.1)
XYZxyz(6.1385, 7.5169, 1.8369)
Luminance0.0752 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5115 #191551
analogous
#513715 #4D5115 #2F5115
triadic
#4D5115 #154D51 #51154D
tetradic
#4D5115 #155137 #191551 #51152F
square
#4D5115 #155137 #191551 #51152F
split-complementary
#4D5115 #152F51 #371551
monochromatic
#171806 #1F2008 #4D5115 #7B8222 #A9B22E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D5115#FFFFFF#000000##FFFFFF
##4D51151.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)
#574D0C
Deuteranopia (green-blind)
#574E19
Tritanopia (blue-blind)
#534C45
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4d5115;
/* rgb */ color: rgb(77, 81, 21);
/* oklch */ color: oklch(41.8% 0.081 113.1);
Tailwind
colors: {
  custom: {
    50: '#818157',
    500: '#4d5115',
    950: '#000000',
  },
}
SCSS
$custom: #4d5115;
$custom-light: #818157;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5115",
  "rgb": {
    "r": 77,
    "g": 81,
    "b": 21
  },
  "hsl": {
    "h": 64,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.41845,
    "c": 0.08071,
    "h": 113.1
  },
  "luminance": 0.07517
}

Semantic roles & 50–950 ramp

primary
#4D5115
secondary
#3E3989
accent
#46E250
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4D5115

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

Preview Lab → · Contrast checker → · Palette generator →

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