#4D6511#4D6511

#4D6511 is a mid, moderate yellow-green. Relative luminance 0.109; OKLCH L 47.1% C 0.110 H 125.0°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#4D6511
RGBrgb(77, 101, 17)
HSLhsl(77, 71%, 23%)
HSVhsv(77, 83%, 40%)
CMYKcmyk(23.8%, 0%, 83.2%, 60.4%)
CIE-LABlab(39.45, -21.60, 40.91)
CIE-LCHlch(39.45, 46.27, 117.84°)
OKLaboklab(47.07% -0.0629 0.0899)
OKLCHoklch(47.07% 0.11 125)
XYZxyz(7.8155, 10.9255, 2.2273)
Luminance0.1093 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6511 #291165
analogous
#655311 #4D6511 #236511
triadic
#4D6511 #114D65 #65114D
tetradic
#4D6511 #116553 #291165 #651123
square
#4D6511 #116553 #291165 #651123
split-complementary
#4D6511 #112365 #531165
monochromatic
#141A04 #253108 #4D6511 #75991A #9DCE23

Accessibility & contrast

On white

6.59
#4D6511 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#4D6511 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6511
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6511#FFFFFF#000000##FFFFFF
##4D65111.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E00
Deuteranopia (green-blind)
#685D1A
Tritanopia (blue-blind)
#516056
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4d6511;
/* rgb */ color: rgb(77, 101, 17);
/* oklch */ color: oklch(47.1% 0.110 125.0);
Tailwind
colors: {
  custom: {
    50: '#829157',
    500: '#4d6511',
    950: '#000000',
  },
}
SCSS
$custom: #4d6511;
$custom-light: #829157;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6511",
  "rgb": {
    "r": 77,
    "g": 101,
    "b": 17
  },
  "hsl": {
    "h": 77.143,
    "s": 71.186,
    "l": 23.137
  },
  "oklch": {
    "l": 0.47074,
    "c": 0.10975,
    "h": 125
  },
  "luminance": 0.10926
}

Semantic roles & 50–950 ramp

primary
#4D6511
secondary
#52359D
accent
#3AEE6D
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #4D6511

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

Preview Lab → · Contrast checker → · Palette generator →

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