#4D5214#4D5214

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

Color values

HEX#4D5214
RGBrgb(77, 82, 20)
HSLhsl(65, 61%, 20%)
HSVhsv(65, 76%, 32%)
CMYKcmyk(6.1%, 0%, 75.6%, 67.8%)
CIE-LABlab(33.27, -11.05, 33.87)
CIE-LCHlch(33.27, 35.63, 108.08°)
OKLaboklab(42.1% -0.0336 0.0756)
OKLCHoklch(42.1% 0.083 113.9)
XYZxyz(6.2043, 7.6630, 1.8140)
Luminance0.0766 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5214 #191452
analogous
#523814 #4D5214 #2E5214
triadic
#4D5214 #144D52 #52144D
tetradic
#4D5214 #145238 #191452 #52142E
square
#4D5214 #145238 #191452 #52142E
split-complementary
#4D5214 #142E52 #381452
monochromatic
#171906 #1F2108 #4D5214 #7B8320 #A9B42C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D5214#FFFFFF#000000##FFFFFF
##4D52141.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)
#584E0A
Deuteranopia (green-blind)
#584F19
Tritanopia (blue-blind)
#534D46
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4d5214;
/* rgb */ color: rgb(77, 82, 20);
/* oklch */ color: oklch(42.1% 0.083 113.9);
Tailwind
colors: {
  custom: {
    50: '#818256',
    500: '#4d5214',
    950: '#000000',
  },
}
SCSS
$custom: #4d5214;
$custom-light: #818256;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5214",
  "rgb": {
    "r": 77,
    "g": 82,
    "b": 20
  },
  "hsl": {
    "h": 64.839,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.42095,
    "c": 0.08276,
    "h": 113.9
  },
  "luminance": 0.07663
}

Semantic roles & 50–950 ramp

primary
#4D5214
secondary
#3E388A
accent
#44E451
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4D5214

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

Preview Lab → · Contrast checker → · Palette generator →

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