#4D6816#4D6816

#4D6816 is a mid, moderate yellow-green. Relative luminance 0.115; OKLCH L 47.9% C 0.111 H 126.5°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#4D6816
RGBrgb(77, 104, 22)
HSLhsl(80, 65%, 25%)
HSVhsv(80, 79%, 41%)
CMYKcmyk(26%, 0%, 78.8%, 59.2%)
CIE-LABlab(40.47, -22.87, 40.10)
CIE-LCHlch(40.47, 46.16, 119.70°)
OKLaboklab(47.91% -0.0659 0.0891)
OKLCHoklch(47.91% 0.111 126.5)
XYZxyz(8.1557, 11.5362, 2.5559)
Luminance0.1154 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6816 #311668
analogous
#685A16 #4D6816 #246816
triadic
#4D6816 #164D68 #68164D
tetradic
#4D6816 #16685A #311668 #681624
square
#4D6816 #16685A #311668 #681624
split-complementary
#4D6816 #162468 #5A1668
monochromatic
#131905 #28350B #4D6816 #729B21 #98CD2B

Accessibility & contrast

On white

6.35
#4D6816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#4D6816 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6816
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6816#FFFFFF#000000##FFFFFF
##4D68161.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6005
Deuteranopia (green-blind)
#6A5F1E
Tritanopia (blue-blind)
#506358
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4d6816;
/* rgb */ color: rgb(77, 104, 22);
/* oklch */ color: oklch(47.9% 0.111 126.5);
Tailwind
colors: {
  custom: {
    50: '#82935a',
    500: '#4d6816',
    950: '#000000',
  },
}
SCSS
$custom: #4d6816;
$custom-light: #82935a;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6816",
  "rgb": {
    "r": 77,
    "g": 104,
    "b": 22
  },
  "hsl": {
    "h": 79.756,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.47905,
    "c": 0.11085,
    "h": 126.5
  },
  "luminance": 0.11536
}

Semantic roles & 50–950 ramp

primary
#4D6816
secondary
#5C3B9F
accent
#40E877
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4D6816

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

Preview Lab → · Contrast checker → · Palette generator →

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