#4D5818#4D5818

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

Color values

HEX#4D5818
RGBrgb(77, 88, 24)
HSLhsl(70, 57%, 22%)
HSVhsv(70, 73%, 35%)
CMYKcmyk(12.5%, 0%, 72.7%, 65.5%)
CIE-LABlab(35.25, -14.20, 34.10)
CIE-LCHlch(35.25, 36.93, 112.60°)
OKLaboklab(43.69% -0.0419 0.0769)
OKLCHoklch(43.69% 0.088 118.6)
XYZxyz(6.7153, 8.6232, 2.1747)
Luminance0.0862 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5818 #231858
analogous
#584318 #4D5818 #2D5818
triadic
#4D5818 #184D58 #58184D
tetradic
#4D5818 #185843 #231858 #58182D
square
#4D5818 #185843 #231858 #58182D
split-complementary
#4D5818 #182D58 #431858
monochromatic
#151807 #23280B #4D5818 #778825 #A1B832

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D5818#FFFFFF#000000##FFFFFF
##4D58181.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)
#5E530F
Deuteranopia (green-blind)
#5D531D
Tritanopia (blue-blind)
#52534B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4d5818;
/* rgb */ color: rgb(77, 88, 24);
/* oklch */ color: oklch(43.7% 0.088 118.6);
Tailwind
colors: {
  custom: {
    50: '#818759',
    500: '#4d5818',
    950: '#000000',
  },
}
SCSS
$custom: #4d5818;
$custom-light: #818759;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5818",
  "rgb": {
    "r": 77,
    "g": 88,
    "b": 24
  },
  "hsl": {
    "h": 70.313,
    "s": 57.143,
    "l": 21.961
  },
  "oklch": {
    "l": 0.43693,
    "c": 0.08753,
    "h": 118.6
  },
  "luminance": 0.08623
}

Semantic roles & 50–950 ramp

primary
#4D5818
secondary
#4B3D8F
accent
#47E062
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0A0B04
muted
#7C7C79

Preview Lab

Preview with #4D5818

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

Preview Lab → · Contrast checker → · Palette generator →

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