#4C581D#4C581D

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

Color values

HEX#4C581D
RGBrgb(76, 88, 29)
HSLhsl(72, 50%, 23%)
HSVhsv(72, 67%, 35%)
CMYKcmyk(13.6%, 0%, 67%, 65.5%)
CIE-LABlab(35.21, -14.28, 31.68)
CIE-LCHlch(35.21, 34.74, 114.26°)
OKLaboklab(43.66% -0.0415 0.0726)
OKLCHoklch(43.66% 0.084 119.8)
XYZxyz(6.6921, 8.6047, 2.4705)
Luminance0.0861 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C581D #291D58
analogous
#58461D #4C581D #2F581D
triadic
#4C581D #1D4C58 #581D4C
tetradic
#4C581D #1D5846 #291D58 #581D2F
square
#4C581D #1D5846 #291D58 #581D2F
split-complementary
#4C581D #1D2F58 #461D58
monochromatic
#141708 #242A0E #4C581D #74862C #9CB43B

Accessibility & contrast

On white

7.72
#4C581D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C581D
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C581D#FFFFFF#000000##FFFFFF
##4C581D1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5316
Deuteranopia (green-blind)
#5C5321
Tritanopia (blue-blind)
#50534C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4c581d;
/* rgb */ color: rgb(76, 88, 29);
/* oklch */ color: oklch(43.7% 0.084 119.8);
Tailwind
colors: {
  custom: {
    50: '#80875c',
    500: '#4c581d',
    950: '#000000',
  },
}
SCSS
$custom: #4c581d;
$custom-light: #80875c;
$custom-dark: #000000;
JSON
{
  "hex": "#4c581d",
  "rgb": {
    "r": 76,
    "g": 88,
    "b": 29
  },
  "hsl": {
    "h": 72.203,
    "s": 50.427,
    "l": 22.941
  },
  "oklch": {
    "l": 0.43657,
    "c": 0.08361,
    "h": 119.8
  },
  "luminance": 0.08605
}

Semantic roles & 50–950 ramp

primary
#4C581D
secondary
#53448D
accent
#4EDA6A
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0B04
muted
#7C7C79

Preview Lab

Preview with #4C581D

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

Preview Lab → · Contrast checker → · Palette generator →

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