#4D581B#4D581B

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

Color values

HEX#4D581B
RGBrgb(77, 88, 27)
HSLhsl(71, 53%, 23%)
HSVhsv(71, 69%, 35%)
CMYKcmyk(12.5%, 0%, 69.3%, 65.5%)
CIE-LABlab(35.27, -13.97, 32.73)
CIE-LCHlch(35.27, 35.59, 113.11°)
OKLaboklab(43.72% -0.0409 0.0745)
OKLCHoklch(43.72% 0.085 118.8)
XYZxyz(6.7482, 8.6364, 2.3482)
Luminance0.0864 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D581B #261B58
analogous
#58451B #4D581B #2E581B
triadic
#4D581B #1B4D58 #581B4D
tetradic
#4D581B #1B5845 #261B58 #581B2E
square
#4D581B #1B5845 #261B58 #581B2E
split-complementary
#4D581B #1B2E58 #451B58
monochromatic
#141707 #24290D #4D581B #768729 #9FB638

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D581B#FFFFFF#000000##FFFFFF
##4D581B1.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)
#5E5313
Deuteranopia (green-blind)
#5D531F
Tritanopia (blue-blind)
#52534B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4d581b;
/* rgb */ color: rgb(77, 88, 27);
/* oklch */ color: oklch(43.7% 0.085 118.8);
Tailwind
colors: {
  custom: {
    50: '#81875b',
    500: '#4d581b',
    950: '#000000',
  },
}
SCSS
$custom: #4d581b;
$custom-light: #81875b;
$custom-dark: #000000;
JSON
{
  "hex": "#4d581b",
  "rgb": {
    "r": 77,
    "g": 88,
    "b": 27
  },
  "hsl": {
    "h": 70.82,
    "s": 53.043,
    "l": 22.549
  },
  "oklch": {
    "l": 0.43722,
    "c": 0.08499,
    "h": 118.8
  },
  "luminance": 0.08636
}

Semantic roles & 50–950 ramp

primary
#4D581B
secondary
#4F418E
accent
#4BDC66
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0A0B04
muted
#7C7C79

Preview Lab

Preview with #4D581B

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

Preview Lab → · Contrast checker → · Palette generator →

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