#4D811D#4D811D

#4D811D is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 54.6% C 0.140 H 133.5°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#4D811D
RGBrgb(77, 129, 29)
HSLhsl(91, 63%, 31%)
HSVhsv(91, 78%, 51%)
CMYKcmyk(40.3%, 0%, 77.5%, 49.4%)
CIE-LABlab(48.72, -34.32, 45.50)
CIE-LCHlch(48.72, 56.99, 127.03°)
OKLaboklab(54.64% -0.0965 0.1016)
OKLCHoklch(54.64% 0.14 133.5)
XYZxyz(11.1324, 17.3665, 3.9277)
Luminance0.1737 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D811D #511D81
analogous
#7F811D #4D811D #1D811F
triadic
#4D811D #1D4D81 #811D4D
tetradic
#4D811D #1D7F81 #511D81 #811F1D
square
#4D811D #1D7F81 #511D81 #811F1D
split-complementary
#4D811D #1F1D81 #811D7F
monochromatic
#111D07 #2F4F12 #4D811D #6BB328 #89D544

Accessibility & contrast

On white

4.69
#4D811D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#4D811D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D811D
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D811D#FFFFFF#000000##FFFFFF
##4D811D1.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867607
Deuteranopia (green-blind)
#7F7227
Tritanopia (blue-blind)
#4D7C6E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4d811d;
/* rgb */ color: rgb(77, 129, 29);
/* oklch */ color: oklch(54.6% 0.140 133.5);
Tailwind
colors: {
  custom: {
    50: '#84a661',
    500: '#4d811d',
    950: '#000000',
  },
}
SCSS
$custom: #4d811d;
$custom-light: #84a661;
$custom-dark: #000000;
JSON
{
  "hex": "#4d811d",
  "rgb": {
    "r": 77,
    "g": 129,
    "b": 29
  },
  "hsl": {
    "h": 91.2,
    "s": 63.291,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54642,
    "c": 0.14011,
    "h": 133.5
  },
  "luminance": 0.17367
}

Semantic roles & 50–950 ramp

primary
#4D811D
secondary
#7F46B4
accent
#41E697
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #4D811D

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

Preview Lab → · Contrast checker → · Palette generator →

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