#4D792A#4D792A

#4D792A is a mid, moderate yellow-green. Relative luminance 0.154; OKLCH L 52.6% C 0.120 H 133.6°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#4D792A
RGBrgb(77, 121, 42)
HSLhsl(93, 48%, 32%)
HSVhsv(93, 65%, 47%)
CMYKcmyk(36.4%, 0%, 65.3%, 52.5%)
CIE-LABlab(46.20, -29.62, 37.48)
CIE-LCHlch(46.20, 47.77, 128.32°)
OKLaboklab(52.62% -0.0826 0.0866)
OKLCHoklch(52.62% 0.12 133.6)
XYZxyz(10.3157, 15.4193, 4.6227)
Luminance0.1542 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D792A #562A79
analogous
#75792A #4D792A #2A792F
triadic
#4D792A #2A4D79 #792A4D
tetradic
#4D792A #2A7579 #562A79 #792F2A
square
#4D792A #2A7579 #562A79 #792F2A
split-complementary
#4D792A #2F2A79 #792A75
monochromatic
#131E0A #304C1A #4D792A #6AA63A #88C558

Accessibility & contrast

On white

5.14
#4D792A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#4D792A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D792A
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D792A#FFFFFF#000000##FFFFFF
##4D792A1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7021
Deuteranopia (green-blind)
#786C30
Tritanopia (blue-blind)
#4D7468
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4d792a;
/* rgb */ color: rgb(77, 121, 42);
/* oklch */ color: oklch(52.6% 0.120 133.6);
Tailwind
colors: {
  custom: {
    50: '#82a067',
    500: '#4d792a',
    950: '#000000',
  },
}
SCSS
$custom: #4d792a;
$custom-light: #82a067;
$custom-dark: #000000;
JSON
{
  "hex": "#4d792a",
  "rgb": {
    "r": 77,
    "g": 121,
    "b": 42
  },
  "hsl": {
    "h": 93.418,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.5262,
    "c": 0.11971,
    "h": 133.6
  },
  "luminance": 0.1542
}

Semantic roles & 50–950 ramp

primary
#4D792A
secondary
#8454AB
accent
#50D89C
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #4D792A

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

Preview Lab → · Contrast checker → · Palette generator →

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