#4D7A2E#4D7A2E

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

Color values

HEX#4D7A2E
RGBrgb(77, 122, 46)
HSLhsl(96, 45%, 33%)
HSVhsv(96, 62%, 48%)
CMYKcmyk(36.9%, 0%, 62.3%, 52.2%)
CIE-LABlab(46.57, -29.69, 35.98)
CIE-LCHlch(46.57, 46.64, 129.53°)
OKLaboklab(52.93% -0.0825 0.0839)
OKLCHoklch(52.93% 0.118 134.5)
XYZxyz(10.5130, 15.6936, 5.0595)
Luminance0.1569 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7A2E #5B2E7A
analogous
#737A2E #4D7A2E #2E7A35
triadic
#4D7A2E #2E4D7A #7A2E4D
tetradic
#4D7A2E #2E737A #5B2E7A #7A352E
square
#4D7A2E #2E737A #5B2E7A #7A352E
split-complementary
#4D7A2E #352E7A #7A2E73
monochromatic
#15210C #314E1D #4D7A2E #69A63F #88C360

Accessibility & contrast

On white

5.07
#4D7A2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4D7A2E
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7A2E#FFFFFF#000000##FFFFFF
##4D7A2E1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7126
Deuteranopia (green-blind)
#786D34
Tritanopia (blue-blind)
#4D756A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4d7a2e;
/* rgb */ color: rgb(77, 122, 46);
/* oklch */ color: oklch(52.9% 0.118 134.5);
Tailwind
colors: {
  custom: {
    50: '#82a16a',
    500: '#4d7a2e',
    950: '#000000',
  },
}
SCSS
$custom: #4d7a2e;
$custom-light: #82a16a;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7a2e",
  "rgb": {
    "r": 77,
    "g": 122,
    "b": 46
  },
  "hsl": {
    "h": 95.526,
    "s": 45.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52932,
    "c": 0.11765,
    "h": 134.5
  },
  "luminance": 0.15694
}

Semantic roles & 50–950 ramp

primary
#4D7A2E
secondary
#895AAA
accent
#53D5A0
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0F06
muted
#7C7E7A

Preview Lab

Preview with #4D7A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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