#4D792C#4D792C

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

Color values

HEX#4D792C
RGBrgb(77, 121, 44)
HSLhsl(94, 47%, 32%)
HSVhsv(94, 64%, 47%)
CMYKcmyk(36.4%, 0%, 63.6%, 52.5%)
CIE-LABlab(46.22, -29.42, 36.55)
CIE-LCHlch(46.22, 46.92, 128.83°)
OKLaboklab(52.64% -0.0819 0.0849)
OKLCHoklch(52.64% 0.118 134)
XYZxyz(10.3524, 15.4339, 4.8160)
Luminance0.1543 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D792C #582C79
analogous
#74792C #4D792C #2C7932
triadic
#4D792C #2C4D79 #792C4D
tetradic
#4D792C #2C7479 #582C79 #79322C
square
#4D792C #2C7479 #582C79 #79322C
split-complementary
#4D792C #322C79 #792C74
monochromatic
#141F0B #304C1C #4D792C #6AA63C #88C45C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D792C#FFFFFF#000000##FFFFFF
##4D792C1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7023
Deuteranopia (green-blind)
#776C32
Tritanopia (blue-blind)
#4D7469
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4d792c;
/* rgb */ color: rgb(77, 121, 44);
/* oklch */ color: oklch(52.6% 0.118 134.0);
Tailwind
colors: {
  custom: {
    50: '#82a068',
    500: '#4d792c',
    950: '#000000',
  },
}
SCSS
$custom: #4d792c;
$custom-light: #82a068;
$custom-dark: #000000;
JSON
{
  "hex": "#4d792c",
  "rgb": {
    "r": 77,
    "g": 121,
    "b": 44
  },
  "hsl": {
    "h": 94.286,
    "s": 46.667,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52642,
    "c": 0.11798,
    "h": 134
  },
  "luminance": 0.15434
}

Semantic roles & 50–950 ramp

primary
#4D792C
secondary
#8657AA
accent
#51D69D
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #4D792C

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

Preview Lab → · Contrast checker → · Palette generator →

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