#4D7A2C#4D7A2C

#4D7A2C is a mid, moderate yellow-green. Relative luminance 0.157; OKLCH L 52.9% C 0.119 H 134.2°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#4D7A2C
RGBrgb(77, 122, 44)
HSLhsl(95, 47%, 33%)
HSVhsv(95, 64%, 48%)
CMYKcmyk(36.9%, 0%, 63.9%, 52.2%)
CIE-LABlab(46.55, -29.89, 36.91)
CIE-LCHlch(46.55, 47.50, 129.00°)
OKLaboklab(52.91% -0.0832 0.0857)
OKLCHoklch(52.91% 0.119 134.2)
XYZxyz(10.4745, 15.6782, 4.8567)
Luminance0.1568 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7A2C #592C7A
analogous
#747A2C #4D7A2C #2C7A32
triadic
#4D7A2C #2C4D7A #7A2C4D
tetradic
#4D7A2C #2C747A #592C7A #7A322C
square
#4D7A2C #2C747A #592C7A #7A322C
split-complementary
#4D7A2C #322C7A #7A2C74
monochromatic
#14200C #314D1C #4D7A2C #69A73C #88C45C

Accessibility & contrast

On white

5.08
#4D7A2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#4D7A2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7A2C
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7A2C#FFFFFF#000000##FFFFFF
##4D7A2C1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7123
Deuteranopia (green-blind)
#786D32
Tritanopia (blue-blind)
#4D7569
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4d7a2c;
/* rgb */ color: rgb(77, 122, 44);
/* oklch */ color: oklch(52.9% 0.119 134.2);
Tailwind
colors: {
  custom: {
    50: '#82a169',
    500: '#4d7a2c',
    950: '#000000',
  },
}
SCSS
$custom: #4d7a2c;
$custom-light: #82a169;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7a2c",
  "rgb": {
    "r": 77,
    "g": 122,
    "b": 44
  },
  "hsl": {
    "h": 94.615,
    "s": 46.988,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52909,
    "c": 0.11943,
    "h": 134.2
  },
  "luminance": 0.15679
}

Semantic roles & 50–950 ramp

primary
#4D7A2C
secondary
#8757AA
accent
#51D79E
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0F06
muted
#7C7E7A

Preview Lab

Preview with #4D7A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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