#4D6418#4D6418

#4D6418 is a mid, moderate yellow-green. Relative luminance 0.108; OKLCH L 46.9% C 0.104 H 125.1°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#4D6418
RGBrgb(77, 100, 24)
HSLhsl(78, 61%, 24%)
HSVhsv(78, 76%, 39%)
CMYKcmyk(23%, 0%, 76%, 60.8%)
CIE-LABlab(39.17, -20.68, 38.05)
CIE-LCHlch(39.17, 43.30, 118.53°)
OKLaboklab(46.86% -0.0598 0.0852)
OKLCHoklch(46.86% 0.104 125.1)
XYZxyz(7.7827, 10.7580, 2.5305)
Luminance0.1076 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6418 #2F1864
analogous
#645518 #4D6418 #276418
triadic
#4D6418 #184D64 #64184D
tetradic
#4D6418 #186455 #2F1864 #641827
square
#4D6418 #186455 #2F1864 #641827
split-complementary
#4D6418 #182764 #551864
monochromatic
#131906 #27330C #4D6418 #739524 #99C730

Accessibility & contrast

On white

6.66
#4D6418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#4D6418 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6418
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6418#FFFFFF#000000##FFFFFF
##4D64181.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D0B
Deuteranopia (green-blind)
#675C1F
Tritanopia (blue-blind)
#515F55
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4d6418;
/* rgb */ color: rgb(77, 100, 24);
/* oklch */ color: oklch(46.9% 0.104 125.1);
Tailwind
colors: {
  custom: {
    50: '#81905b',
    500: '#4d6418',
    950: '#000000',
  },
}
SCSS
$custom: #4d6418;
$custom-light: #81905b;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6418",
  "rgb": {
    "r": 77,
    "g": 100,
    "b": 24
  },
  "hsl": {
    "h": 78.158,
    "s": 61.29,
    "l": 24.314
  },
  "oklch": {
    "l": 0.46857,
    "c": 0.10405,
    "h": 125.1
  },
  "luminance": 0.10758
}

Semantic roles & 50–950 ramp

primary
#4D6418
secondary
#5A3E9A
accent
#43E474
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4D6418

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

Preview Lab → · Contrast checker → · Palette generator →

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