#4D580E#4D580E

#4D580E is a dark, moderate yellow. Relative luminance 0.086; OKLCH L 43.6% C 0.094 H 118.1°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#4D580E
RGBrgb(77, 88, 14)
HSLhsl(69, 73%, 20%)
HSVhsv(69, 84%, 35%)
CMYKcmyk(12.5%, 0%, 84.1%, 65.5%)
CIE-LABlab(35.18, -14.79, 38.02)
CIE-LCHlch(35.18, 40.79, 111.25°)
OKLaboklab(43.62% -0.0445 0.0832)
OKLCHoklch(43.62% 0.094 118.1)
XYZxyz(6.6297, 8.5890, 1.7240)
Luminance0.0859 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D580E #190E58
analogous
#583E0E #4D580E #28580E
triadic
#4D580E #0E4D58 #580E4D
tetradic
#4D580E #0E583E #190E58 #580E28
square
#4D580E #0E583E #190E58 #580E28
split-complementary
#4D580E #0E2858 #3E0E58
monochromatic
#171A04 #1F2306 #4D580E #7B8D16 #A9C21F

Accessibility & contrast

On white

7.73
#4D580E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#4D580E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D580E
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D580E#FFFFFF#000000##FFFFFF
##4D580E1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5300
Deuteranopia (green-blind)
#5D5315
Tritanopia (blue-blind)
#52534A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4d580e;
/* rgb */ color: rgb(77, 88, 14);
/* oklch */ color: oklch(43.6% 0.094 118.1);
Tailwind
colors: {
  custom: {
    50: '#818754',
    500: '#4d580e',
    950: '#000000',
  },
}
SCSS
$custom: #4d580e;
$custom-light: #818754;
$custom-dark: #000000;
JSON
{
  "hex": "#4d580e",
  "rgb": {
    "r": 77,
    "g": 88,
    "b": 14
  },
  "hsl": {
    "h": 68.919,
    "s": 72.549,
    "l": 20
  },
  "oklch": {
    "l": 0.43617,
    "c": 0.09439,
    "h": 118.1
  },
  "luminance": 0.08589
}

Semantic roles & 50–950 ramp

primary
#4D580E
secondary
#3E3092
accent
#39EF54
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4D580E

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

Preview Lab → · Contrast checker → · Palette generator →

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