#4D5219#4D5219

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

Color values

HEX#4D5219
RGBrgb(77, 82, 25)
HSLhsl(65, 53%, 21%)
HSVhsv(65, 70%, 32%)
CMYKcmyk(6.1%, 0%, 69.5%, 67.8%)
CIE-LABlab(33.31, -10.71, 31.62)
CIE-LCHlch(33.31, 33.38, 108.70°)
OKLaboklab(42.14% -0.032 0.0718)
OKLCHoklch(42.14% 0.079 114)
XYZxyz(6.2535, 7.6827, 2.0730)
Luminance0.0768 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5219 #1E1952
analogous
#523A19 #4D5219 #305219
triadic
#4D5219 #194D52 #52194D
tetradic
#4D5219 #19523A #1E1952 #521930
square
#4D5219 #19523A #1E1952 #521930
split-complementary
#4D5219 #193052 #3A1952
monochromatic
#161707 #21230B #4D5219 #798127 #A5B036

Accessibility & contrast

On white

8.28
#4D5219 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#4D5219 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D5219
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5219#FFFFFF#000000##FFFFFF
##4D52191.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E12
Deuteranopia (green-blind)
#584F1D
Tritanopia (blue-blind)
#524D46
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4d5219;
/* rgb */ color: rgb(77, 82, 25);
/* oklch */ color: oklch(42.1% 0.079 114.0);
Tailwind
colors: {
  custom: {
    50: '#818259',
    500: '#4d5219',
    950: '#000000',
  },
}
SCSS
$custom: #4d5219;
$custom-light: #818259;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5219",
  "rgb": {
    "r": 77,
    "g": 82,
    "b": 25
  },
  "hsl": {
    "h": 65.263,
    "s": 53.271,
    "l": 20.98
  },
  "oklch": {
    "l": 0.42142,
    "c": 0.07862,
    "h": 114
  },
  "luminance": 0.07683
}

Semantic roles & 50–950 ramp

primary
#4D5219
secondary
#453E88
accent
#4BDD58
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4D5219

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

Preview Lab → · Contrast checker → · Palette generator →

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