#4D6718#4D6718

#4D6718 is a mid, moderate yellow-green. Relative luminance 0.113; OKLCH L 47.7% C 0.108 H 126.3°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#4D6718
RGBrgb(77, 103, 24)
HSLhsl(80, 62%, 25%)
HSVhsv(80, 77%, 40%)
CMYKcmyk(25.2%, 0%, 76.7%, 59.6%)
CIE-LABlab(40.15, -22.23, 39.02)
CIE-LCHlch(40.15, 44.91, 119.67°)
OKLaboklab(47.65% -0.064 0.0872)
OKLCHoklch(47.65% 0.108 126.3)
XYZxyz(8.0757, 11.3441, 2.6281)
Luminance0.1134 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6718 #321867
analogous
#675A18 #4D6718 #256718
triadic
#4D6718 #184D67 #67184D
tetradic
#4D6718 #18675A #321867 #671825
square
#4D6718 #18675A #321867 #671825
split-complementary
#4D6718 #182567 #5A1867
monochromatic
#131906 #28350C #4D6718 #729924 #97CA2F

Accessibility & contrast

On white

6.42
#4D6718 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#4D6718 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6718
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6718#FFFFFF#000000##FFFFFF
##4D67181.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6009
Deuteranopia (green-blind)
#695E1F
Tritanopia (blue-blind)
#506258
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4d6718;
/* rgb */ color: rgb(77, 103, 24);
/* oklch */ color: oklch(47.7% 0.108 126.3);
Tailwind
colors: {
  custom: {
    50: '#82925b',
    500: '#4d6718',
    950: '#000000',
  },
}
SCSS
$custom: #4d6718;
$custom-light: #82925b;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6718",
  "rgb": {
    "r": 77,
    "g": 103,
    "b": 24
  },
  "hsl": {
    "h": 79.747,
    "s": 62.205,
    "l": 24.902
  },
  "oklch": {
    "l": 0.47654,
    "c": 0.10818,
    "h": 126.3
  },
  "luminance": 0.11344
}

Semantic roles & 50–950 ramp

primary
#4D6718
secondary
#5D3E9D
accent
#43E578
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4D6718

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

Preview Lab → · Contrast checker → · Palette generator →

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