#4D7D2B#4D7D2B

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

Color values

HEX#4D7D2B
RGBrgb(77, 125, 43)
HSLhsl(95, 49%, 33%)
HSVhsv(95, 66%, 49%)
CMYKcmyk(38.4%, 0%, 65.6%, 51%)
CIE-LABlab(47.52, -31.39, 38.46)
CIE-LCHlch(47.52, 49.64, 129.22°)
OKLaboklab(53.7% -0.0874 0.0888)
OKLCHoklch(53.7% 0.125 134.5)
XYZxyz(10.8300, 16.4189, 4.8836)
Luminance0.1642 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7D2B #5B2B7D
analogous
#767D2B #4D7D2B #2B7D32
triadic
#4D7D2B #2B4D7D #7D2B4D
tetradic
#4D7D2B #2B767D #5B2B7D #7D322B
square
#4D7D2B #2B767D #5B2B7D #7D322B
split-complementary
#4D7D2B #322B7D #7D2B76
monochromatic
#15220C #314F1B #4D7D2B #69AB3B #88C75C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D7D2B#FFFFFF#000000##FFFFFF
##4D7D2B1.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)
#827321
Deuteranopia (green-blind)
#7B6F32
Tritanopia (blue-blind)
#4C786C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4d7d2b;
/* rgb */ color: rgb(77, 125, 43);
/* oklch */ color: oklch(53.7% 0.125 134.5);
Tailwind
colors: {
  custom: {
    50: '#82a368',
    500: '#4d7d2b',
    950: '#000000',
  },
}
SCSS
$custom: #4d7d2b;
$custom-light: #82a368;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7d2b",
  "rgb": {
    "r": 77,
    "g": 125,
    "b": 43
  },
  "hsl": {
    "h": 95.122,
    "s": 48.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.53696,
    "c": 0.1246,
    "h": 134.5
  },
  "luminance": 0.16419
}

Semantic roles & 50–950 ramp

primary
#4D7D2B
secondary
#8957AD
accent
#4FD8A0
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4D7D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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