#4D7121#4D7121

#4D7121 is a mid, moderate yellow-green. Relative luminance 0.135; OKLCH L 50.4% C 0.116 H 130.5°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#4D7121
RGBrgb(77, 113, 33)
HSLhsl(87, 55%, 29%)
HSVhsv(87, 71%, 44%)
CMYKcmyk(31.9%, 0%, 70.8%, 55.7%)
CIE-LABlab(43.50, -26.58, 38.66)
CIE-LCHlch(43.50, 46.91, 124.51°)
OKLaboklab(50.4% -0.0751 0.0879)
OKLCHoklch(50.4% 0.116 130.5)
XYZxyz(9.2401, 13.4976, 3.5570)
Luminance0.1350 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7121 #452171
analogous
#716D21 #4D7121 #257121
triadic
#4D7121 #214D71 #71214D
tetradic
#4D7121 #21716D #452171 #712125
square
#4D7121 #21716D #452171 #712125
split-complementary
#4D7121 #212571 #6D2171
monochromatic
#101807 #2D4213 #4D7121 #6DA02F #8DC844

Accessibility & contrast

On white

5.68
#4D7121 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#4D7121 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7121
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7121#FFFFFF#000000##FFFFFF
##4D71211.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766916
Deuteranopia (green-blind)
#716628
Tritanopia (blue-blind)
#4F6C61
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4d7121;
/* rgb */ color: rgb(77, 113, 33);
/* oklch */ color: oklch(50.4% 0.116 130.5);
Tailwind
colors: {
  custom: {
    50: '#829a61',
    500: '#4d7121',
    950: '#000000',
  },
}
SCSS
$custom: #4d7121;
$custom-light: #829a61;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7121",
  "rgb": {
    "r": 77,
    "g": 113,
    "b": 33
  },
  "hsl": {
    "h": 87,
    "s": 54.795,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50396,
    "c": 0.1156,
    "h": 130.5
  },
  "luminance": 0.13498
}

Semantic roles & 50–950 ramp

primary
#4D7121
secondary
#7249A5
accent
#4ADE8C
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4D7121

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

Preview Lab → · Contrast checker → · Palette generator →

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