#4D792D#4D792D

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

Color values

HEX#4D792D
RGBrgb(77, 121, 45)
HSLhsl(95, 46%, 33%)
HSVhsv(95, 63%, 47%)
CMYKcmyk(36.4%, 0%, 62.8%, 52.5%)
CIE-LABlab(46.23, -29.32, 36.08)
CIE-LCHlch(46.23, 46.49, 129.09°)
OKLaboklab(52.65% -0.0815 0.084)
OKLCHoklch(52.65% 0.117 134.1)
XYZxyz(10.3714, 15.4415, 4.9162)
Luminance0.1544 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D792D #592D79
analogous
#73792D #4D792D #2D7933
triadic
#4D792D #2D4D79 #792D4D
tetradic
#4D792D #2D7379 #592D79 #79332D
square
#4D792D #2D7379 #592D79 #79332D
split-complementary
#4D792D #332D79 #792D73
monochromatic
#14200C #314C1C #4D792D #69A63E #88C35D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D792D#FFFFFF#000000##FFFFFF
##4D792D1.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)
#7E7025
Deuteranopia (green-blind)
#776C33
Tritanopia (blue-blind)
#4D7469
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4d792d;
/* rgb */ color: rgb(77, 121, 45);
/* oklch */ color: oklch(52.7% 0.117 134.1);
Tailwind
colors: {
  custom: {
    50: '#82a069',
    500: '#4d792d',
    950: '#000000',
  },
}
SCSS
$custom: #4d792d;
$custom-light: #82a069;
$custom-dark: #000000;
JSON
{
  "hex": "#4d792d",
  "rgb": {
    "r": 77,
    "g": 121,
    "b": 45
  },
  "hsl": {
    "h": 94.737,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52654,
    "c": 0.11708,
    "h": 134.1
  },
  "luminance": 0.15442
}

Semantic roles & 50–950 ramp

primary
#4D792D
secondary
#8758A9
accent
#52D59E
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #4D792D

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

Preview Lab → · Contrast checker → · Palette generator →

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