#4D581A#4D581A

#4D581A is a dark, moderate yellow-green. Relative luminance 0.086; OKLCH L 43.7% C 0.086 H 118.7°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#4D581A
RGBrgb(77, 88, 26)
HSLhsl(71, 54%, 22%)
HSVhsv(71, 70%, 35%)
CMYKcmyk(12.5%, 0%, 70.5%, 65.5%)
CIE-LABlab(35.27, -14.05, 33.20)
CIE-LCHlch(35.27, 36.05, 112.94°)
OKLaboklab(43.71% -0.0413 0.0753)
OKLCHoklch(43.71% 0.086 118.7)
XYZxyz(6.7369, 8.6319, 2.2883)
Luminance0.0863 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D581A #251A58
analogous
#58441A #4D581A #2E581A
triadic
#4D581A #1A4D58 #581A4D
tetradic
#4D581A #1A5844 #251A58 #581A2E
square
#4D581A #1A5844 #251A58 #581A2E
split-complementary
#4D581A #1A2E58 #441A58
monochromatic
#151807 #24290C #4D581A #768728 #A0B636

Accessibility & contrast

On white

7.70
#4D581A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#4D581A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D581A
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D581A#FFFFFF#000000##FFFFFF
##4D581A1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5312
Deuteranopia (green-blind)
#5D531E
Tritanopia (blue-blind)
#52534B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4d581a;
/* rgb */ color: rgb(77, 88, 26);
/* oklch */ color: oklch(43.7% 0.086 118.7);
Tailwind
colors: {
  custom: {
    50: '#81875a',
    500: '#4d581a',
    950: '#000000',
  },
}
SCSS
$custom: #4d581a;
$custom-light: #81875a;
$custom-dark: #000000;
JSON
{
  "hex": "#4d581a",
  "rgb": {
    "r": 77,
    "g": 88,
    "b": 26
  },
  "hsl": {
    "h": 70.645,
    "s": 54.386,
    "l": 22.353
  },
  "oklch": {
    "l": 0.43712,
    "c": 0.08586,
    "h": 118.7
  },
  "luminance": 0.08632
}

Semantic roles & 50–950 ramp

primary
#4D581A
secondary
#4E408E
accent
#4ADE64
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0A0B04
muted
#7C7C79

Preview Lab

Preview with #4D581A

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

Preview Lab → · Contrast checker → · Palette generator →

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