#4D5819#4D5819

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

Color values

HEX#4D5819
RGBrgb(77, 88, 25)
HSLhsl(70, 56%, 22%)
HSVhsv(70, 72%, 35%)
CMYKcmyk(12.5%, 0%, 71.6%, 65.5%)
CIE-LABlab(35.26, -14.12, 33.65)
CIE-LCHlch(35.26, 36.49, 112.77°)
OKLaboklab(43.7% -0.0416 0.0761)
OKLCHoklch(43.7% 0.087 118.7)
XYZxyz(6.7259, 8.6275, 2.2305)
Luminance0.0863 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5819 #241958
analogous
#584419 #4D5819 #2E5819
triadic
#4D5819 #194D58 #58194D
tetradic
#4D5819 #195844 #241958 #58192E
square
#4D5819 #195844 #241958 #58192E
split-complementary
#4D5819 #192E58 #441958
monochromatic
#151807 #23280B #4D5819 #778827 #A0B734

Accessibility & contrast

On white

7.71
#4D5819 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D5819
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5819#FFFFFF#000000##FFFFFF
##4D58191.007.712.737.71
#FFFFFF7.711.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d5819;
/* rgb */ color: rgb(77, 88, 25);
/* oklch */ color: oklch(43.7% 0.087 118.7);
Tailwind
colors: {
  custom: {
    50: '#81875a',
    500: '#4d5819',
    950: '#000000',
  },
}
SCSS
$custom: #4d5819;
$custom-light: #81875a;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5819",
  "rgb": {
    "r": 77,
    "g": 88,
    "b": 25
  },
  "hsl": {
    "h": 70.476,
    "s": 55.752,
    "l": 22.157
  },
  "oklch": {
    "l": 0.43702,
    "c": 0.08671,
    "h": 118.7
  },
  "luminance": 0.08627
}

Semantic roles & 50–950 ramp

primary
#4D5819
secondary
#4C3E8E
accent
#49DF63
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0A0B04
muted
#7C7C79

Preview Lab

Preview with #4D5819

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

Preview Lab → · Contrast checker → · Palette generator →

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