#4D580F#4D580F

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

Color values

HEX#4D580F
RGBrgb(77, 88, 15)
HSLhsl(69, 71%, 20%)
HSVhsv(69, 83%, 35%)
CMYKcmyk(12.5%, 0%, 83%, 65.5%)
CIE-LABlab(35.19, -14.74, 37.68)
CIE-LCHlch(35.19, 40.46, 111.36°)
OKLaboklab(43.62% -0.0443 0.0827)
OKLCHoklch(43.62% 0.094 118.2)
XYZxyz(6.6367, 8.5918, 1.7606)
Luminance0.0859 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D580F #1A0F58
analogous
#583E0F #4D580F #28580F
triadic
#4D580F #0F4D58 #580F4D
tetradic
#4D580F #0F583E #1A0F58 #580F28
square
#4D580F #0F583E #1A0F58 #580F28
split-complementary
#4D580F #0F2858 #3E0F58
monochromatic
#171A04 #1F2406 #4D580F #7B8C18 #A9C121

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D580F#FFFFFF#000000##FFFFFF
##4D580F1.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)
#5D5316
Tritanopia (blue-blind)
#52534A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4d580f;
/* rgb */ color: rgb(77, 88, 15);
/* oklch */ color: oklch(43.6% 0.094 118.2);
Tailwind
colors: {
  custom: {
    50: '#818754',
    500: '#4d580f',
    950: '#000000',
  },
}
SCSS
$custom: #4d580f;
$custom-light: #818754;
$custom-dark: #000000;
JSON
{
  "hex": "#4d580f",
  "rgb": {
    "r": 77,
    "g": 88,
    "b": 15
  },
  "hsl": {
    "h": 69.041,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.43623,
    "c": 0.09382,
    "h": 118.2
  },
  "luminance": 0.08592
}

Semantic roles & 50–950 ramp

primary
#4D580F
secondary
#403192
accent
#3AEE55
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4D580F

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

Preview Lab → · Contrast checker → · Palette generator →

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