#4D6818#4D6818

#4D6818 is a mid, moderate yellow-green. Relative luminance 0.115; OKLCH L 47.9% C 0.110 H 126.7°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#4D6818
RGBrgb(77, 104, 24)
HSLhsl(80, 63%, 25%)
HSVhsv(80, 77%, 41%)
CMYKcmyk(26%, 0%, 76.9%, 59.2%)
CIE-LABlab(40.48, -22.74, 39.34)
CIE-LCHlch(40.48, 45.44, 120.03°)
OKLaboklab(47.92% -0.0654 0.0879)
OKLCHoklch(47.92% 0.11 126.7)
XYZxyz(8.1758, 11.5442, 2.6615)
Luminance0.1154 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6818 #331868
analogous
#685B18 #4D6818 #256818
triadic
#4D6818 #184D68 #68184D
tetradic
#4D6818 #18685B #331868 #681825
square
#4D6818 #18685B #331868 #681825
split-complementary
#4D6818 #182568 #5B1868
monochromatic
#121906 #28360D #4D6818 #729A23 #97CB2F

Accessibility & contrast

On white

6.35
#4D6818 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#4D6818 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6818
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6818#FFFFFF#000000##FFFFFF
##4D68181.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6009
Deuteranopia (green-blind)
#6A5F1F
Tritanopia (blue-blind)
#506359
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4d6818;
/* rgb */ color: rgb(77, 104, 24);
/* oklch */ color: oklch(47.9% 0.110 126.7);
Tailwind
colors: {
  custom: {
    50: '#82935b',
    500: '#4d6818',
    950: '#000000',
  },
}
SCSS
$custom: #4d6818;
$custom-light: #82935b;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6818",
  "rgb": {
    "r": 77,
    "g": 104,
    "b": 24
  },
  "hsl": {
    "h": 80.25,
    "s": 62.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.4792,
    "c": 0.10955,
    "h": 126.7
  },
  "luminance": 0.11544
}

Semantic roles & 50–950 ramp

primary
#4D6818
secondary
#5E3E9E
accent
#42E679
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4D6818

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

Preview Lab → · Contrast checker → · Palette generator →

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