#4D5213#4D5213

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

Color values

HEX#4D5213
RGBrgb(77, 82, 19)
HSLhsl(65, 62%, 20%)
HSVhsv(65, 77%, 32%)
CMYKcmyk(6.1%, 0%, 76.8%, 67.8%)
CIE-LABlab(33.26, -11.12, 34.29)
CIE-LCHlch(33.26, 36.05, 107.96°)
OKLaboklab(42.09% -0.0339 0.0763)
OKLCHoklch(42.09% 0.084 113.9)
XYZxyz(6.1956, 7.6595, 1.7680)
Luminance0.0766 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5213 #181352
analogous
#523813 #4D5213 #2E5213
triadic
#4D5213 #134D52 #52134D
tetradic
#4D5213 #135238 #181352 #52132E
square
#4D5213 #135238 #181352 #52132E
split-complementary
#4D5213 #132E52 #381352
monochromatic
#171906 #1E2007 #4D5213 #7C841F #AAB52A

Accessibility & contrast

On white

8.29
#4D5213 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D5213
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5213#FFFFFF#000000##FFFFFF
##4D52131.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E08
Deuteranopia (green-blind)
#584F18
Tritanopia (blue-blind)
#534D46
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4d5213;
/* rgb */ color: rgb(77, 82, 19);
/* oklch */ color: oklch(42.1% 0.084 113.9);
Tailwind
colors: {
  custom: {
    50: '#818256',
    500: '#4d5213',
    950: '#000000',
  },
}
SCSS
$custom: #4d5213;
$custom-light: #818256;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5213",
  "rgb": {
    "r": 77,
    "g": 82,
    "b": 19
  },
  "hsl": {
    "h": 64.762,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.42087,
    "c": 0.08352,
    "h": 113.9
  },
  "luminance": 0.07659
}

Semantic roles & 50–950 ramp

primary
#4D5213
secondary
#3D368A
accent
#42E54F
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4D5213

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

Preview Lab → · Contrast checker → · Palette generator →

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