#4D6422#4D6422

#4D6422 is a mid, moderate yellow-green. Relative luminance 0.108; OKLCH L 47.0% C 0.096 H 126.2°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#4D6422
RGBrgb(77, 100, 34)
HSLhsl(81, 49%, 26%)
HSVhsv(81, 66%, 39%)
CMYKcmyk(23%, 0%, 66%, 60.8%)
CIE-LABlab(39.25, -19.90, 33.66)
CIE-LCHlch(39.25, 39.10, 120.59°)
OKLaboklab(46.95% -0.0566 0.0775)
OKLCHoklch(46.95% 0.096 126.2)
XYZxyz(7.9065, 10.8075, 3.1826)
Luminance0.1081 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6422 #392264
analogous
#645A22 #4D6422 #2C6422
triadic
#4D6422 #224D64 #64224D
tetradic
#4D6422 #22645A #392264 #64222C
square
#4D6422 #22645A #392264 #64222C
split-complementary
#4D6422 #222C64 #5A2264
monochromatic
#121708 #2A3612 #4D6422 #709232 #93BF42

Accessibility & contrast

On white

6.64
#4D6422 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#4D6422 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6422
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6422#FFFFFF#000000##FFFFFF
##4D64221.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D1A
Deuteranopia (green-blind)
#665C27
Tritanopia (blue-blind)
#505F56
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4d6422;
/* rgb */ color: rgb(77, 100, 34);
/* oklch */ color: oklch(47.0% 0.096 126.2);
Tailwind
colors: {
  custom: {
    50: '#819060',
    500: '#4d6422',
    950: '#000000',
  },
}
SCSS
$custom: #4d6422;
$custom-light: #819060;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6422",
  "rgb": {
    "r": 77,
    "g": 100,
    "b": 34
  },
  "hsl": {
    "h": 80.909,
    "s": 49.254,
    "l": 26.275
  },
  "oklch": {
    "l": 0.46952,
    "c": 0.09598,
    "h": 126.2
  },
  "luminance": 0.10808
}

Semantic roles & 50–950 ramp

primary
#4D6422
secondary
#654A98
accent
#4FD97F
background
#F8F8F5
surface
#EFF0EA
border
#CACBC6
text
#0A0C05
muted
#7C7D79

Preview Lab

Preview with #4D6422

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

Preview Lab → · Contrast checker → · Palette generator →

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