#4D7D2E#4D7D2E

#4D7D2E is a mid, vivid yellow-green. Relative luminance 0.164; OKLCH L 53.7% C 0.122 H 135.0°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#4D7D2E
RGBrgb(77, 125, 46)
HSLhsl(96, 46%, 34%)
HSVhsv(96, 63%, 49%)
CMYKcmyk(38.4%, 0%, 63.2%, 51%)
CIE-LABlab(47.55, -31.09, 37.08)
CIE-LCHlch(47.55, 48.39, 129.98°)
OKLaboklab(53.73% -0.0863 0.0862)
OKLCHoklch(53.73% 0.122 135)
XYZxyz(10.8871, 16.4418, 5.1842)
Luminance0.1644 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7D2E #5E2E7D
analogous
#747D2E #4D7D2E #2E7D36
triadic
#4D7D2E #2E4D7D #7D2E4D
tetradic
#4D7D2E #2E747D #5E2E7D #7D362E
square
#4D7D2E #2E747D #5E2E7D #7D362E
split-complementary
#4D7D2E #362E7D #7D2E74
monochromatic
#16240D #31501E #4D7D2E #69AA3E #88C561

Accessibility & contrast

On white

4.90
#4D7D2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#4D7D2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7D2E
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7D2E#FFFFFF#000000##FFFFFF
##4D7D2E1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827325
Deuteranopia (green-blind)
#7B6F34
Tritanopia (blue-blind)
#4C786C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4d7d2e;
/* rgb */ color: rgb(77, 125, 46);
/* oklch */ color: oklch(53.7% 0.122 135.0);
Tailwind
colors: {
  custom: {
    50: '#82a36a',
    500: '#4d7d2e',
    950: '#000000',
  },
}
SCSS
$custom: #4d7d2e;
$custom-light: #82a36a;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7d2e",
  "rgb": {
    "r": 77,
    "g": 125,
    "b": 46
  },
  "hsl": {
    "h": 96.456,
    "s": 46.199,
    "l": 33.529
  },
  "oklch": {
    "l": 0.5373,
    "c": 0.12203,
    "h": 135
  },
  "luminance": 0.16442
}

Semantic roles & 50–950 ramp

primary
#4D7D2E
secondary
#8C5BAB
accent
#52D6A2
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #4D7D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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