#4D792F#4D792F

#4D792F is a mid, moderate yellow-green. Relative luminance 0.155; OKLCH L 52.7% C 0.115 H 134.5°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#4D792F
RGBrgb(77, 121, 47)
HSLhsl(96, 44%, 33%)
HSVhsv(96, 61%, 47%)
CMYKcmyk(36.4%, 0%, 61.2%, 52.5%)
CIE-LABlab(46.25, -29.11, 35.13)
CIE-LCHlch(46.25, 45.62, 129.64°)
OKLaboklab(52.68% -0.0808 0.0822)
OKLCHoklch(52.68% 0.115 134.5)
XYZxyz(10.4108, 15.4573, 5.1238)
Luminance0.1546 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D792F #5B2F79
analogous
#72792F #4D792F #2F7936
triadic
#4D792F #2F4D79 #792F4D
tetradic
#4D792F #2F7279 #5B2F79 #79362F
square
#4D792F #2F7279 #5B2F79 #79362F
split-complementary
#4D792F #362F79 #792F72
monochromatic
#15210D #314D1E #4D792F #69A540 #88C261

Accessibility & contrast

On white

5.13
#4D792F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#4D792F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D792F
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D792F#FFFFFF#000000##FFFFFF
##4D792F1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7027
Deuteranopia (green-blind)
#776C34
Tritanopia (blue-blind)
#4D7569
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4d792f;
/* rgb */ color: rgb(77, 121, 47);
/* oklch */ color: oklch(52.7% 0.115 134.5);
Tailwind
colors: {
  custom: {
    50: '#82a06a',
    500: '#4d792f',
    950: '#000000',
  },
}
SCSS
$custom: #4d792f;
$custom-light: #82a06a;
$custom-dark: #000000;
JSON
{
  "hex": "#4d792f",
  "rgb": {
    "r": 77,
    "g": 121,
    "b": 47
  },
  "hsl": {
    "h": 95.676,
    "s": 44.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52678,
    "c": 0.11526,
    "h": 134.5
  },
  "luminance": 0.15458
}

Semantic roles & 50–950 ramp

primary
#4D792F
secondary
#895BA8
accent
#54D4A0
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E07
muted
#7C7E7A

Preview Lab

Preview with #4D792F

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

Preview Lab → · Contrast checker → · Palette generator →

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