#4D792E#4D792E

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

Color values

HEX#4D792E
RGBrgb(77, 121, 46)
HSLhsl(95, 45%, 33%)
HSVhsv(95, 62%, 47%)
CMYKcmyk(36.4%, 0%, 62%, 52.5%)
CIE-LABlab(46.24, -29.21, 35.61)
CIE-LCHlch(46.24, 46.06, 129.37°)
OKLaboklab(52.67% -0.0812 0.0831)
OKLCHoklch(52.67% 0.116 134.3)
XYZxyz(10.3909, 15.4493, 5.0188)
Luminance0.1545 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D792E #5A2E79
analogous
#72792E #4D792E #2E7934
triadic
#4D792E #2E4D79 #792E4D
tetradic
#4D792E #2E7279 #5A2E79 #79342E
square
#4D792E #2E7279 #5A2E79 #79342E
split-complementary
#4D792E #342E79 #792E72
monochromatic
#15200C #314D1D #4D792E #69A53F #88C25F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D792E#FFFFFF#000000##FFFFFF
##4D792E1.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)
#7E7026
Deuteranopia (green-blind)
#776C34
Tritanopia (blue-blind)
#4D7469
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4d792e;
/* rgb */ color: rgb(77, 121, 46);
/* oklch */ color: oklch(52.7% 0.116 134.3);
Tailwind
colors: {
  custom: {
    50: '#82a06a',
    500: '#4d792e',
    950: '#000000',
  },
}
SCSS
$custom: #4d792e;
$custom-light: #82a06a;
$custom-dark: #000000;
JSON
{
  "hex": "#4d792e",
  "rgb": {
    "r": 77,
    "g": 121,
    "b": 46
  },
  "hsl": {
    "h": 95.2,
    "s": 44.91,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52666,
    "c": 0.11619,
    "h": 134.3
  },
  "luminance": 0.1545
}

Semantic roles & 50–950 ramp

primary
#4D792E
secondary
#885AA9
accent
#53D59F
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #4D792E

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

Preview Lab → · Contrast checker → · Palette generator →

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