#4D7B2E#4D7B2E

#4D7B2E is a mid, moderate yellow-green. Relative luminance 0.159; OKLCH L 53.2% C 0.119 H 134.7°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#4D7B2E
RGBrgb(77, 123, 46)
HSLhsl(96, 46%, 33%)
HSVhsv(96, 63%, 48%)
CMYKcmyk(37.4%, 0%, 62.6%, 51.8%)
CIE-LABlab(46.90, -30.16, 36.34)
CIE-LCHlch(46.90, 47.23, 129.68°)
OKLaboklab(53.2% -0.0838 0.0847)
OKLCHoklch(53.2% 0.119 134.7)
XYZxyz(10.6364, 15.9405, 5.1006)
Luminance0.1594 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7B2E #5C2E7B
analogous
#737B2E #4D7B2E #2E7B35
triadic
#4D7B2E #2E4D7B #7B2E4D
tetradic
#4D7B2E #2E737B #5C2E7B #7B352E
square
#4D7B2E #2E737B #5C2E7B #7B352E
split-complementary
#4D7B2E #352E7B #7B2E73
monochromatic
#15220D #314E1D #4D7B2E #69A83F #88C360

Accessibility & contrast

On white

5.01
#4D7B2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#4D7B2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7B2E
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7B2E#FFFFFF#000000##FFFFFF
##4D7B2E1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807225
Deuteranopia (green-blind)
#796E34
Tritanopia (blue-blind)
#4C766B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4d7b2e;
/* rgb */ color: rgb(77, 123, 46);
/* oklch */ color: oklch(53.2% 0.119 134.7);
Tailwind
colors: {
  custom: {
    50: '#82a16a',
    500: '#4d7b2e',
    950: '#000000',
  },
}
SCSS
$custom: #4d7b2e;
$custom-light: #82a16a;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7b2e",
  "rgb": {
    "r": 77,
    "g": 123,
    "b": 46
  },
  "hsl": {
    "h": 95.844,
    "s": 45.562,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53198,
    "c": 0.11912,
    "h": 134.7
  },
  "luminance": 0.15941
}

Semantic roles & 50–950 ramp

primary
#4D7B2E
secondary
#8A5BAA
accent
#53D5A1
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0F06
muted
#7C7E7A

Preview Lab

Preview with #4D7B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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