#4D7D2C#4D7D2C

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

Color values

HEX#4D7D2C
RGBrgb(77, 125, 44)
HSLhsl(96, 48%, 33%)
HSVhsv(96, 65%, 49%)
CMYKcmyk(38.4%, 0%, 64.8%, 51%)
CIE-LABlab(47.53, -31.29, 38.00)
CIE-LCHlch(47.53, 49.23, 129.47°)
OKLaboklab(53.71% -0.087 0.088)
OKLCHoklch(53.71% 0.124 134.7)
XYZxyz(10.8486, 16.4264, 4.9814)
Luminance0.1643 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7D2C #5C2C7D
analogous
#757D2C #4D7D2C #2C7D34
triadic
#4D7D2C #2C4D7D #7D2C4D
tetradic
#4D7D2C #2C757D #5C2C7D #7D342C
square
#4D7D2C #2C757D #5C2C7D #7D342C
split-complementary
#4D7D2C #342C7D #7D2C75
monochromatic
#15220C #31501C #4D7D2C #69AA3C #88C65D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #4d7d2c;
/* rgb */ color: rgb(77, 125, 44);
/* oklch */ color: oklch(53.7% 0.124 134.7);
Tailwind
colors: {
  custom: {
    50: '#82a369',
    500: '#4d7d2c',
    950: '#000000',
  },
}
SCSS
$custom: #4d7d2c;
$custom-light: #82a369;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7d2c",
  "rgb": {
    "r": 77,
    "g": 125,
    "b": 44
  },
  "hsl": {
    "h": 95.556,
    "s": 47.929,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53707,
    "c": 0.12376,
    "h": 134.7
  },
  "luminance": 0.16427
}

Semantic roles & 50–950 ramp

primary
#4D7D2C
secondary
#8A59AC
accent
#50D8A0
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4D7D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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