#4D6722#4D6722

#4D6722 is a mid, moderate yellow-green. Relative luminance 0.114; OKLCH L 47.7% C 0.100 H 127.4°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#4D6722
RGBrgb(77, 103, 34)
HSLhsl(83, 50%, 27%)
HSVhsv(83, 67%, 40%)
CMYKcmyk(25.2%, 0%, 67%, 59.6%)
CIE-LABlab(40.24, -21.47, 34.73)
CIE-LCHlch(40.24, 40.82, 121.72°)
OKLaboklab(47.75% -0.061 0.0798)
OKLCHoklch(47.75% 0.1 127.4)
XYZxyz(8.1995, 11.3936, 3.2803)
Luminance0.1139 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6722 #3C2267
analogous
#675F22 #4D6722 #2B6722
triadic
#4D6722 #224D67 #67224D
tetradic
#4D6722 #22675F #3C2267 #67222B
square
#4D6722 #22675F #3C2267 #67222B
split-complementary
#4D6722 #222B67 #5F2267
monochromatic
#111708 #2B3913 #4D6722 #6F9531 #91C143

Accessibility & contrast

On white

6.40
#4D6722 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#4D6722 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6722
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6722#FFFFFF#000000##FFFFFF
##4D67221.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6019
Deuteranopia (green-blind)
#695E27
Tritanopia (blue-blind)
#506259
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4d6722;
/* rgb */ color: rgb(77, 103, 34);
/* oklch */ color: oklch(47.7% 0.100 127.4);
Tailwind
colors: {
  custom: {
    50: '#819261',
    500: '#4d6722',
    950: '#000000',
  },
}
SCSS
$custom: #4d6722;
$custom-light: #819261;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6722",
  "rgb": {
    "r": 77,
    "g": 103,
    "b": 34
  },
  "hsl": {
    "h": 82.609,
    "s": 50.365,
    "l": 26.863
  },
  "oklch": {
    "l": 0.47746,
    "c": 0.10039,
    "h": 127.4
  },
  "luminance": 0.11394
}

Semantic roles & 50–950 ramp

primary
#4D6722
secondary
#684A9B
accent
#4EDA83
background
#F8F9F5
surface
#EFF1EA
border
#CACBC6
text
#0A0D05
muted
#7C7E79

Preview Lab

Preview with #4D6722

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

Preview Lab → · Contrast checker → · Palette generator →

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