#4D6918#4D6918

#4D6918 is a mid, moderate yellow-green. Relative luminance 0.117; OKLCH L 48.2% C 0.111 H 127.0°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#4D6918
RGBrgb(77, 105, 24)
HSLhsl(81, 63%, 25%)
HSVhsv(81, 77%, 41%)
CMYKcmyk(26.7%, 0%, 77.1%, 58.8%)
CIE-LABlab(40.81, -23.25, 39.66)
CIE-LCHlch(40.81, 45.97, 120.38°)
OKLaboklab(48.19% -0.0668 0.0885)
OKLCHoklch(48.19% 0.111 127)
XYZxyz(8.2770, 11.7467, 2.6952)
Luminance0.1175 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6918 #341869
analogous
#695D18 #4D6918 #246918
triadic
#4D6918 #184D69 #69184D
tetradic
#4D6918 #18695D #341869 #691824
square
#4D6918 #18695D #341869 #691824
split-complementary
#4D6918 #182469 #5D1869
monochromatic
#121906 #28370D #4D6918 #729B23 #96CD2F

Accessibility & contrast

On white

6.27
#4D6918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#4D6918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6918
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6918#FFFFFF#000000##FFFFFF
##4D69181.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6108
Deuteranopia (green-blind)
#6B601F
Tritanopia (blue-blind)
#506459
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4d6918;
/* rgb */ color: rgb(77, 105, 24);
/* oklch */ color: oklch(48.2% 0.111 127.0);
Tailwind
colors: {
  custom: {
    50: '#82945b',
    500: '#4d6918',
    950: '#000000',
  },
}
SCSS
$custom: #4d6918;
$custom-light: #82945b;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6918",
  "rgb": {
    "r": 77,
    "g": 105,
    "b": 24
  },
  "hsl": {
    "h": 80.741,
    "s": 62.791,
    "l": 25.294
  },
  "oklch": {
    "l": 0.48187,
    "c": 0.11092,
    "h": 127
  },
  "luminance": 0.11747
}

Semantic roles & 50–950 ramp

primary
#4D6918
secondary
#5F3E9F
accent
#42E67B
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4D6918

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

Preview Lab → · Contrast checker → · Palette generator →

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