#4D5515#4D5515

#4D5515 is a dark, moderate yellow. Relative luminance 0.081; OKLCH L 42.9% C 0.086 H 116.3°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#4D5515
RGBrgb(77, 85, 21)
HSLhsl(68, 60%, 21%)
HSVhsv(68, 75%, 33%)
CMYKcmyk(9.4%, 0%, 75.3%, 66.7%)
CIE-LABlab(34.25, -12.71, 34.41)
CIE-LCHlch(34.25, 36.68, 110.27°)
OKLaboklab(42.88% -0.0381 0.077)
OKLCHoklch(42.88% 0.086 116.3)
XYZxyz(6.4446, 8.1290, 1.9389)
Luminance0.0813 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5515 #1D1555
analogous
#553D15 #4D5515 #2D5515
triadic
#4D5515 #154D55 #55154D
tetradic
#4D5515 #15553D #1D1555 #55152D
square
#4D5515 #15553D #1D1555 #55152D
split-complementary
#4D5515 #152D55 #3D1555
monochromatic
#161906 #212409 #4D5515 #798621 #A6B72D

Accessibility & contrast

On white

8.00
#4D5515 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#4D5515 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D5515
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5515#FFFFFF#000000##FFFFFF
##4D55151.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B500B
Deuteranopia (green-blind)
#5B511A
Tritanopia (blue-blind)
#525048
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4d5515;
/* rgb */ color: rgb(77, 85, 21);
/* oklch */ color: oklch(42.9% 0.086 116.3);
Tailwind
colors: {
  custom: {
    50: '#818457',
    500: '#4d5515',
    950: '#000000',
  },
}
SCSS
$custom: #4d5515;
$custom-light: #818457;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5515",
  "rgb": {
    "r": 77,
    "g": 85,
    "b": 21
  },
  "hsl": {
    "h": 67.5,
    "s": 60.377,
    "l": 20.784
  },
  "oklch": {
    "l": 0.42883,
    "c": 0.08587,
    "h": 116.3
  },
  "luminance": 0.08129
}

Semantic roles & 50–950 ramp

primary
#4D5515
secondary
#44398D
accent
#44E458
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4D5515

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

Preview Lab → · Contrast checker → · Palette generator →

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