#4D5817#4D5817

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

Color values

HEX#4D5817
RGBrgb(77, 88, 23)
HSLhsl(70, 59%, 22%)
HSVhsv(70, 74%, 35%)
CMYKcmyk(12.5%, 0%, 73.9%, 65.5%)
CIE-LABlab(35.24, -14.27, 34.53)
CIE-LCHlch(35.24, 37.36, 112.45°)
OKLaboklab(43.68% -0.0422 0.0776)
OKLCHoklch(43.68% 0.088 118.5)
XYZxyz(6.7051, 8.6191, 2.1209)
Luminance0.0862 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5817 #221758
analogous
#584317 #4D5817 #2D5817
triadic
#4D5817 #174D58 #58174D
tetradic
#4D5817 #175843 #221758 #58172D
square
#4D5817 #175843 #221758 #58172D
split-complementary
#4D5817 #172D58 #431758
monochromatic
#151806 #23270A #4D5817 #778924 #A2B930

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D5817#FFFFFF#000000##FFFFFF
##4D58171.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d5817;
/* rgb */ color: rgb(77, 88, 23);
/* oklch */ color: oklch(43.7% 0.088 118.5);
Tailwind
colors: {
  custom: {
    50: '#818759',
    500: '#4d5817',
    950: '#000000',
  },
}
SCSS
$custom: #4d5817;
$custom-light: #818759;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5817",
  "rgb": {
    "r": 77,
    "g": 88,
    "b": 23
  },
  "hsl": {
    "h": 70.154,
    "s": 58.559,
    "l": 21.765
  },
  "oklch": {
    "l": 0.43684,
    "c": 0.08832,
    "h": 118.5
  },
  "luminance": 0.08619
}

Semantic roles & 50–950 ramp

primary
#4D5817
secondary
#4A3C8F
accent
#46E260
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0A0B04
muted
#7C7C79

Preview Lab

Preview with #4D5817

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

Preview Lab → · Contrast checker → · Palette generator →

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