#4D5918#4D5918

#4D5918 is a dark, moderate yellow-green. Relative luminance 0.088; OKLCH L 44.0% C 0.089 H 119.3°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#4D5918
RGBrgb(77, 89, 24)
HSLhsl(71, 58%, 22%)
HSVhsv(71, 73%, 35%)
CMYKcmyk(13.5%, 0%, 73%, 65.1%)
CIE-LABlab(35.57, -14.75, 34.43)
CIE-LCHlch(35.57, 37.46, 113.20°)
OKLaboklab(43.96% -0.0434 0.0775)
OKLCHoklch(43.96% 0.089 119.3)
XYZxyz(6.7979, 8.7885, 2.2022)
Luminance0.0879 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5918 #241859
analogous
#594518 #4D5918 #2D5918
triadic
#4D5918 #184D59 #59184D
tetradic
#4D5918 #185945 #241859 #59182D
square
#4D5918 #185945 #241859 #59182D
split-complementary
#4D5918 #182D59 #451859
monochromatic
#151806 #23290B #4D5918 #778925 #A0B932

Accessibility & contrast

On white

7.62
#4D5918 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#4D5918 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D5918
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5918#FFFFFF#000000##FFFFFF
##4D59181.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F540E
Deuteranopia (green-blind)
#5E541D
Tritanopia (blue-blind)
#52544C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4d5918;
/* rgb */ color: rgb(77, 89, 24);
/* oklch */ color: oklch(44.0% 0.089 119.3);
Tailwind
colors: {
  custom: {
    50: '#818759',
    500: '#4d5918',
    950: '#000000',
  },
}
SCSS
$custom: #4d5918;
$custom-light: #818759;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5918",
  "rgb": {
    "r": 77,
    "g": 89,
    "b": 24
  },
  "hsl": {
    "h": 71.077,
    "s": 57.522,
    "l": 22.157
  },
  "oklch": {
    "l": 0.43955,
    "c": 0.08889,
    "h": 119.3
  },
  "luminance": 0.08788
}

Semantic roles & 50–950 ramp

primary
#4D5918
secondary
#4C3D90
accent
#47E163
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0A0B04
muted
#7C7C79

Preview Lab

Preview with #4D5918

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

Preview Lab → · Contrast checker → · Palette generator →

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