#4D6618#4D6618

#4D6618 is a mid, moderate yellow-green. Relative luminance 0.111; OKLCH L 47.4% C 0.107 H 125.9°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#4D6618
RGBrgb(77, 102, 24)
HSLhsl(79, 62%, 25%)
HSVhsv(79, 76%, 40%)
CMYKcmyk(24.5%, 0%, 76.5%, 60%)
CIE-LABlab(39.83, -21.72, 38.69)
CIE-LCHlch(39.83, 44.37, 119.30°)
OKLaboklab(47.39% -0.0626 0.0865)
OKLCHoklch(47.39% 0.107 125.9)
XYZxyz(7.9769, 11.1464, 2.5952)
Luminance0.1115 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6618 #311866
analogous
#665818 #4D6618 #266618
triadic
#4D6618 #184D66 #66184D
tetradic
#4D6618 #186658 #311866 #661826
square
#4D6618 #186658 #311866 #661826
split-complementary
#4D6618 #182666 #581866
monochromatic
#131906 #28340C #4D6618 #729824 #98C92F

Accessibility & contrast

On white

6.50
#4D6618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#4D6618 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6618
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6618#FFFFFF#000000##FFFFFF
##4D66181.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F0A
Deuteranopia (green-blind)
#685D1F
Tritanopia (blue-blind)
#516157
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4d6618;
/* rgb */ color: rgb(77, 102, 24);
/* oklch */ color: oklch(47.4% 0.107 125.9);
Tailwind
colors: {
  custom: {
    50: '#82915b',
    500: '#4d6618',
    950: '#000000',
  },
}
SCSS
$custom: #4d6618;
$custom-light: #82915b;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6618",
  "rgb": {
    "r": 77,
    "g": 102,
    "b": 24
  },
  "hsl": {
    "h": 79.231,
    "s": 61.905,
    "l": 24.706
  },
  "oklch": {
    "l": 0.47388,
    "c": 0.1068,
    "h": 125.9
  },
  "luminance": 0.11146
}

Semantic roles & 50–950 ramp

primary
#4D6618
secondary
#5C3E9C
accent
#43E577
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0D04
muted
#7C7D79

Preview Lab

Preview with #4D6618

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

Preview Lab → · Contrast checker → · Palette generator →

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