#4D6920#4D6920

#4D6920 is a mid, moderate yellow-green. Relative luminance 0.118; OKLCH L 48.3% C 0.105 H 127.9°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#4D6920
RGBrgb(77, 105, 32)
HSLhsl(83, 53%, 27%)
HSVhsv(83, 70%, 41%)
CMYKcmyk(26.7%, 0%, 69.5%, 58.8%)
CIE-LABlab(40.87, -22.66, 36.34)
CIE-LCHlch(40.87, 42.83, 121.95°)
OKLaboklab(48.26% -0.0645 0.0828)
OKLCHoklch(48.26% 0.105 127.9)
XYZxyz(8.3728, 11.7850, 3.1998)
Luminance0.1178 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6920 #3C2069
analogous
#696120 #4D6920 #286920
triadic
#4D6920 #204D69 #69204D
tetradic
#4D6920 #206961 #3C2069 #692028
square
#4D6920 #206961 #3C2069 #692028
split-complementary
#4D6920 #202869 #612069
monochromatic
#111707 #2B3A12 #4D6920 #6F982E #91C43F

Accessibility & contrast

On white

6.26
#4D6920 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#4D6920 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6920
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6920#FFFFFF#000000##FFFFFF
##4D69201.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6216
Deuteranopia (green-blind)
#6A6026
Tritanopia (blue-blind)
#50645A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4d6920;
/* rgb */ color: rgb(77, 105, 32);
/* oklch */ color: oklch(48.3% 0.105 127.9);
Tailwind
colors: {
  custom: {
    50: '#819460',
    500: '#4d6920',
    950: '#000000',
  },
}
SCSS
$custom: #4d6920;
$custom-light: #819460;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6920",
  "rgb": {
    "r": 77,
    "g": 105,
    "b": 32
  },
  "hsl": {
    "h": 83.014,
    "s": 53.285,
    "l": 26.863
  },
  "oklch": {
    "l": 0.48256,
    "c": 0.10498,
    "h": 127.9
  },
  "luminance": 0.11785
}

Semantic roles & 50–950 ramp

primary
#4D6920
secondary
#68489D
accent
#4BDD83
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #4D6920

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

Preview Lab → · Contrast checker → · Palette generator →

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