#4D6820#4D6820

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

Color values

HEX#4D6820
RGBrgb(77, 104, 32)
HSLhsl(83, 53%, 27%)
HSVhsv(83, 69%, 41%)
CMYKcmyk(26%, 0%, 69.2%, 59.2%)
CIE-LABlab(40.54, -22.15, 35.99)
CIE-LCHlch(40.54, 42.26, 121.61°)
OKLaboklab(47.99% -0.0631 0.0821)
OKLCHoklch(47.99% 0.104 127.5)
XYZxyz(8.2716, 11.5825, 3.1661)
Luminance0.1158 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6820 #3B2068
analogous
#685F20 #4D6820 #296820
triadic
#4D6820 #204D68 #68204D
tetradic
#4D6820 #20685F #3B2068 #682029
square
#4D6820 #20685F #3B2068 #682029
split-complementary
#4D6820 #202968 #5F2068
monochromatic
#111707 #2A3912 #4D6820 #70972E #92C43F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D6820#FFFFFF#000000##FFFFFF
##4D68201.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)
#6D6116
Deuteranopia (green-blind)
#6A5F26
Tritanopia (blue-blind)
#506359
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4d6820;
/* rgb */ color: rgb(77, 104, 32);
/* oklch */ color: oklch(48.0% 0.104 127.5);
Tailwind
colors: {
  custom: {
    50: '#81935f',
    500: '#4d6820',
    950: '#000000',
  },
}
SCSS
$custom: #4d6820;
$custom-light: #81935f;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6820",
  "rgb": {
    "r": 77,
    "g": 104,
    "b": 32
  },
  "hsl": {
    "h": 82.5,
    "s": 52.941,
    "l": 26.667
  },
  "oklch": {
    "l": 0.47991,
    "c": 0.10354,
    "h": 127.5
  },
  "luminance": 0.11583
}

Semantic roles & 50–950 ramp

primary
#4D6820
secondary
#67489C
accent
#4BDC82
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #4D6820

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

Preview Lab → · Contrast checker → · Palette generator →

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