#4D6822#4D6822

#4D6822 is a mid, moderate yellow-green. Relative luminance 0.116; OKLCH L 48.0% C 0.102 H 127.8°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#4D6822
RGBrgb(77, 104, 34)
HSLhsl(83, 51%, 27%)
HSVhsv(83, 67%, 41%)
CMYKcmyk(26%, 0%, 67.3%, 59.2%)
CIE-LABlab(40.56, -21.98, 35.08)
CIE-LCHlch(40.56, 41.40, 122.07°)
OKLaboklab(48.01% -0.0624 0.0805)
OKLCHoklch(48.01% 0.102 127.8)
XYZxyz(8.2996, 11.5937, 3.3136)
Luminance0.1159 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6822 #3D2268
analogous
#686022 #4D6822 #2A6822
triadic
#4D6822 #224D68 #68224D
tetradic
#4D6822 #226860 #3D2268 #68222A
square
#4D6822 #226860 #3D2268 #68222A
split-complementary
#4D6822 #222A68 #602268
monochromatic
#111708 #2B3A13 #4D6822 #6F9631 #91C243

Accessibility & contrast

On white

6.33
#4D6822 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#4D6822 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6822
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6822#FFFFFF#000000##FFFFFF
##4D68221.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6119
Deuteranopia (green-blind)
#6A5F27
Tritanopia (blue-blind)
#506359
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4d6822;
/* rgb */ color: rgb(77, 104, 34);
/* oklch */ color: oklch(48.0% 0.102 127.8);
Tailwind
colors: {
  custom: {
    50: '#819361',
    500: '#4d6822',
    950: '#000000',
  },
}
SCSS
$custom: #4d6822;
$custom-light: #819361;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6822",
  "rgb": {
    "r": 77,
    "g": 104,
    "b": 34
  },
  "hsl": {
    "h": 83.143,
    "s": 50.725,
    "l": 27.059
  },
  "oklch": {
    "l": 0.48011,
    "c": 0.10184,
    "h": 127.8
  },
  "luminance": 0.11594
}

Semantic roles & 50–950 ramp

primary
#4D6822
secondary
#6A4A9C
accent
#4EDA84
background
#F8F9F5
surface
#EFF1EA
border
#CACBC6
text
#0A0D05
muted
#7C7E79

Preview Lab

Preview with #4D6822

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

Preview Lab → · Contrast checker → · Palette generator →

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