#4D7E2B#4D7E2B

#4D7E2B is a mid, vivid yellow-green. Relative luminance 0.167; OKLCH L 54.0% C 0.126 H 134.7°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#4D7E2B
RGBrgb(77, 126, 43)
HSLhsl(95, 49%, 33%)
HSVhsv(95, 66%, 49%)
CMYKcmyk(38.9%, 0%, 65.9%, 50.6%)
CIE-LABlab(47.85, -31.85, 38.81)
CIE-LCHlch(47.85, 50.21, 129.37°)
OKLaboklab(53.96% -0.0887 0.0896)
OKLCHoklch(53.96% 0.126 134.7)
XYZxyz(10.9572, 16.6734, 4.9260)
Luminance0.1667 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7E2B #5C2B7E
analogous
#767E2B #4D7E2B #2B7E33
triadic
#4D7E2B #2B4D7E #7E2B4D
tetradic
#4D7E2B #2B767E #5C2B7E #7E332B
square
#4D7E2B #2B767E #5C2B7E #7E332B
split-complementary
#4D7E2B #332B7E #7E2B76
monochromatic
#15230C #31501B #4D7E2B #69AC3B #88C75C

Accessibility & contrast

On white

4.84
#4D7E2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#4D7E2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7E2B
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7E2B#FFFFFF#000000##FFFFFF
##4D7E2B1.004.844.334.84
#FFFFFF4.841.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837421
Deuteranopia (green-blind)
#7C7032
Tritanopia (blue-blind)
#4C796D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4d7e2b;
/* rgb */ color: rgb(77, 126, 43);
/* oklch */ color: oklch(54.0% 0.126 134.7);
Tailwind
colors: {
  custom: {
    50: '#83a468',
    500: '#4d7e2b',
    950: '#000000',
  },
}
SCSS
$custom: #4d7e2b;
$custom-light: #83a468;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7e2b",
  "rgb": {
    "r": 77,
    "g": 126,
    "b": 43
  },
  "hsl": {
    "h": 95.422,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53963,
    "c": 0.12603,
    "h": 134.7
  },
  "luminance": 0.16674
}

Semantic roles & 50–950 ramp

primary
#4D7E2B
secondary
#8A58AD
accent
#4FD9A0
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4D7E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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