#4D7D2A#4D7D2A

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

Color values

HEX#4D7D2A
RGBrgb(77, 125, 42)
HSLhsl(95, 50%, 33%)
HSVhsv(95, 66%, 49%)
CMYKcmyk(38.4%, 0%, 66.4%, 51%)
CIE-LABlab(47.51, -31.48, 38.91)
CIE-LCHlch(47.51, 50.05, 128.98°)
OKLaboklab(53.69% -0.0877 0.0896)
OKLCHoklch(53.69% 0.125 134.4)
XYZxyz(10.8119, 16.4117, 4.7881)
Luminance0.1641 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7D2A #5A2A7D
analogous
#767D2A #4D7D2A #2A7D30
triadic
#4D7D2A #2A4D7D #7D2A4D
tetradic
#4D7D2A #2A767D #5A2A7D #7D302A
square
#4D7D2A #2A767D #5A2A7D #7D302A
split-complementary
#4D7D2A #302A7D #7D2A76
monochromatic
#15210B #314F1B #4D7D2A #69AB39 #88C85A

Accessibility & contrast

On white

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

On black

4.28
#4D7D2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4D7D2A#FFFFFF#000000##FFFFFF
##4D7D2A1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827320
Deuteranopia (green-blind)
#7B6F31
Tritanopia (blue-blind)
#4D786C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4d7d2a;
/* rgb */ color: rgb(77, 125, 42);
/* oklch */ color: oklch(53.7% 0.125 134.4);
Tailwind
colors: {
  custom: {
    50: '#82a368',
    500: '#4d7d2a',
    950: '#000000',
  },
}
SCSS
$custom: #4d7d2a;
$custom-light: #82a368;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7d2a",
  "rgb": {
    "r": 77,
    "g": 125,
    "b": 42
  },
  "hsl": {
    "h": 94.699,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.53686,
    "c": 0.12543,
    "h": 134.4
  },
  "luminance": 0.16412
}

Semantic roles & 50–950 ramp

primary
#4D7D2A
secondary
#8856AD
accent
#4FD99F
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4D7D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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