#4D6922#4D6922

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

Color values

HEX#4D6922
RGBrgb(77, 105, 34)
HSLhsl(84, 51%, 27%)
HSVhsv(84, 68%, 41%)
CMYKcmyk(26.7%, 0%, 67.6%, 58.8%)
CIE-LABlab(40.89, -22.49, 35.43)
CIE-LCHlch(40.89, 41.97, 122.41°)
OKLaboklab(48.28% -0.0638 0.0812)
OKLCHoklch(48.28% 0.103 128.1)
XYZxyz(8.4009, 11.7963, 3.3474)
Luminance0.1180 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6922 #3E2269
analogous
#696222 #4D6922 #2A6922
triadic
#4D6922 #224D69 #69224D
tetradic
#4D6922 #226962 #3E2269 #69222A
square
#4D6922 #226962 #3E2269 #69222A
split-complementary
#4D6922 #222A69 #622269
monochromatic
#111707 #2B3B13 #4D6922 #6F9731 #90C243

Accessibility & contrast

On white

6.25
#4D6922 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4D6922
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6922#FFFFFF#000000##FFFFFF
##4D69221.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d6922;
/* rgb */ color: rgb(77, 105, 34);
/* oklch */ color: oklch(48.3% 0.103 128.1);
Tailwind
colors: {
  custom: {
    50: '#819461',
    500: '#4d6922',
    950: '#000000',
  },
}
SCSS
$custom: #4d6922;
$custom-light: #819461;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6922",
  "rgb": {
    "r": 77,
    "g": 105,
    "b": 34
  },
  "hsl": {
    "h": 83.662,
    "s": 51.079,
    "l": 27.255
  },
  "oklch": {
    "l": 0.48277,
    "c": 0.1033,
    "h": 128.1
  },
  "luminance": 0.11796
}

Semantic roles & 50–950 ramp

primary
#4D6922
secondary
#6B4A9D
accent
#4DDB85
background
#F8F9F5
surface
#EFF1EA
border
#CACBC6
text
#0A0D05
muted
#7C7E79

Preview Lab

Preview with #4D6922

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

Preview Lab → · Contrast checker → · Palette generator →

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