#4D6811#4D6811

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

Color values

HEX#4D6811
RGBrgb(77, 104, 17)
HSLhsl(79, 72%, 24%)
HSVhsv(79, 84%, 41%)
CMYKcmyk(26%, 0%, 83.7%, 59.2%)
CIE-LABlab(40.44, -23.14, 41.82)
CIE-LCHlch(40.44, 47.79, 118.96°)
OKLaboklab(47.87% -0.0671 0.0918)
OKLCHoklch(47.87% 0.114 126.2)
XYZxyz(8.1121, 11.5187, 2.3262)
Luminance0.1152 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6811 #2C1168
analogous
#685711 #4D6811 #216811
triadic
#4D6811 #114D68 #68114D
tetradic
#4D6811 #116857 #2C1168 #681121
square
#4D6811 #116857 #2C1168 #681121
split-complementary
#4D6811 #112168 #571168
monochromatic
#131A04 #263308 #4D6811 #749D1A #9BD122

Accessibility & contrast

On white

6.36
#4D6811 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#4D6811 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6811
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6811#FFFFFF#000000##FFFFFF
##4D68111.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6000
Deuteranopia (green-blind)
#6A5F1A
Tritanopia (blue-blind)
#516358
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4d6811;
/* rgb */ color: rgb(77, 104, 17);
/* oklch */ color: oklch(47.9% 0.114 126.2);
Tailwind
colors: {
  custom: {
    50: '#829358',
    500: '#4d6811',
    950: '#000000',
  },
}
SCSS
$custom: #4d6811;
$custom-light: #829358;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6811",
  "rgb": {
    "r": 77,
    "g": 104,
    "b": 17
  },
  "hsl": {
    "h": 78.621,
    "s": 71.901,
    "l": 23.725
  },
  "oklch": {
    "l": 0.47873,
    "c": 0.11373,
    "h": 126.2
  },
  "luminance": 0.11519
}

Semantic roles & 50–950 ramp

primary
#4D6811
secondary
#5635A0
accent
#39EF71
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4D6811

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

Preview Lab → · Contrast checker → · Palette generator →

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