#4D8129#4D8129

#4D8129 is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 54.7% C 0.132 H 134.9°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#4D8129
RGBrgb(77, 129, 41)
HSLhsl(95, 52%, 33%)
HSVhsv(95, 68%, 51%)
CMYKcmyk(40.3%, 0%, 68.2%, 49.4%)
CIE-LABlab(48.81, -33.40, 40.76)
CIE-LCHlch(48.81, 52.70, 129.34°)
OKLaboklab(54.74% -0.093 0.0934)
OKLCHoklch(54.74% 0.132 134.9)
XYZxyz(11.3108, 17.4378, 4.8673)
Luminance0.1744 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8129 #5D2981
analogous
#798129 #4D8129 #298131
triadic
#4D8129 #294D81 #81294D
tetradic
#4D8129 #297981 #5D2981 #813129
square
#4D8129 #297981 #5D2981 #813129
split-complementary
#4D8129 #312981 #812979
monochromatic
#16240B #31531A #4D8129 #69AF38 #88CB5A

Accessibility & contrast

On white

4.68
#4D8129 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#4D8129 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D8129
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8129#FFFFFF#000000##FFFFFF
##4D81291.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86771D
Deuteranopia (green-blind)
#7F7230
Tritanopia (blue-blind)
#4C7C6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4d8129;
/* rgb */ color: rgb(77, 129, 41);
/* oklch */ color: oklch(54.7% 0.132 134.9);
Tailwind
colors: {
  custom: {
    50: '#83a667',
    500: '#4d8129',
    950: '#000000',
  },
}
SCSS
$custom: #4d8129;
$custom-light: #83a667;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8129",
  "rgb": {
    "r": 77,
    "g": 129,
    "b": 41
  },
  "hsl": {
    "h": 95.455,
    "s": 51.765,
    "l": 33.333
  },
  "oklch": {
    "l": 0.54742,
    "c": 0.13185,
    "h": 134.9
  },
  "luminance": 0.17438
}

Semantic roles & 50–950 ramp

primary
#4D8129
secondary
#8B56B0
accent
#4DDBA1
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4D8129

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

Preview Lab → · Contrast checker → · Palette generator →

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