#4D7D2F#4D7D2F

#4D7D2F is a mid, vivid yellow-green. Relative luminance 0.165; OKLCH L 53.7% C 0.121 H 135.2°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#4D7D2F
RGBrgb(77, 125, 47)
HSLhsl(97, 45%, 34%)
HSVhsv(97, 62%, 49%)
CMYKcmyk(38.4%, 0%, 62.4%, 51%)
CIE-LABlab(47.56, -30.99, 36.61)
CIE-LCHlch(47.56, 47.96, 130.25°)
OKLaboklab(53.74% -0.086 0.0854)
OKLCHoklch(53.74% 0.121 135.2)
XYZxyz(10.9070, 16.4497, 5.2892)
Luminance0.1645 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7D2F #5F2F7D
analogous
#747D2F #4D7D2F #2F7D38
triadic
#4D7D2F #2F4D7D #7D2F4D
tetradic
#4D7D2F #2F747D #5F2F7D #7D382F
square
#4D7D2F #2F747D #5F2F7D #7D382F
split-complementary
#4D7D2F #382F7D #7D2F74
monochromatic
#16240E #32511E #4D7D2F #68A940 #88C462

Accessibility & contrast

On white

4.90
#4D7D2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#4D7D2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7D2F
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7D2F#FFFFFF#000000##FFFFFF
##4D7D2F1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817326
Deuteranopia (green-blind)
#7B6F35
Tritanopia (blue-blind)
#4C786C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4d7d2f;
/* rgb */ color: rgb(77, 125, 47);
/* oklch */ color: oklch(53.7% 0.121 135.2);
Tailwind
colors: {
  custom: {
    50: '#82a36b',
    500: '#4d7d2f',
    950: '#000000',
  },
}
SCSS
$custom: #4d7d2f;
$custom-light: #82a36b;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7d2f",
  "rgb": {
    "r": 77,
    "g": 125,
    "b": 47
  },
  "hsl": {
    "h": 96.923,
    "s": 45.349,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53742,
    "c": 0.12115,
    "h": 135.2
  },
  "luminance": 0.1645
}

Semantic roles & 50–950 ramp

primary
#4D7D2F
secondary
#8D5DAB
accent
#53D5A3
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #4D7D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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