#4D6622#4D6622

#4D6622 is a mid, moderate yellow-green. Relative luminance 0.112; OKLCH L 47.5% C 0.099 H 127.0°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#4D6622
RGBrgb(77, 102, 34)
HSLhsl(82, 50%, 27%)
HSVhsv(82, 67%, 40%)
CMYKcmyk(24.5%, 0%, 66.7%, 60%)
CIE-LABlab(39.91, -20.95, 34.37)
CIE-LCHlch(39.91, 40.25, 121.36°)
OKLaboklab(47.48% -0.0595 0.079)
OKLCHoklch(47.48% 0.099 127)
XYZxyz(8.1007, 11.1959, 3.2473)
Luminance0.1120 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6622 #3B2266
analogous
#665D22 #4D6622 #2B6622
triadic
#4D6622 #224D66 #66224D
tetradic
#4D6622 #22665D #3B2266 #66222B
square
#4D6622 #22665D #3B2266 #66222B
split-complementary
#4D6622 #222B66 #5D2266
monochromatic
#111708 #2A3813 #4D6622 #709431 #92C042

Accessibility & contrast

On white

6.48
#4D6622 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#4D6622 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6622
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6622#FFFFFF#000000##FFFFFF
##4D66221.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5F1A
Deuteranopia (green-blind)
#685E27
Tritanopia (blue-blind)
#506158
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4d6622;
/* rgb */ color: rgb(77, 102, 34);
/* oklch */ color: oklch(47.5% 0.099 127.0);
Tailwind
colors: {
  custom: {
    50: '#819160',
    500: '#4d6622',
    950: '#000000',
  },
}
SCSS
$custom: #4d6622;
$custom-light: #819160;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6622",
  "rgb": {
    "r": 77,
    "g": 102,
    "b": 34
  },
  "hsl": {
    "h": 82.059,
    "s": 50,
    "l": 26.667
  },
  "oklch": {
    "l": 0.47481,
    "c": 0.09892,
    "h": 127
  },
  "luminance": 0.11196
}

Semantic roles & 50–950 ramp

primary
#4D6622
secondary
#674A9A
accent
#4EDA81
background
#F8F8F5
surface
#EFF0EA
border
#CACBC6
text
#0A0D05
muted
#7C7D79

Preview Lab

Preview with #4D6622

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

Preview Lab → · Contrast checker → · Palette generator →

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