#4D7D1D#4D7D1D

#4D7D1D is a mid, vivid yellow-green. Relative luminance 0.163; OKLCH L 53.6% C 0.135 H 132.8°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#4D7D1D
RGBrgb(77, 125, 29)
HSLhsl(90, 62%, 30%)
HSVhsv(90, 77%, 49%)
CMYKcmyk(38.4%, 0%, 76.8%, 51%)
CIE-LABlab(47.41, -32.52, 44.22)
CIE-LCHlch(47.41, 54.89, 126.33°)
OKLaboklab(53.57% -0.0916 0.0989)
OKLCHoklch(53.57% 0.135 132.8)
XYZxyz(10.6158, 16.3333, 3.7554)
Luminance0.1633 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7D1D #4D1D7D
analogous
#7D7D1D #4D7D1D #1D7D1D
triadic
#4D7D1D #1D4D7D #7D1D4D
tetradic
#4D7D1D #1D7D7D #4D1D7D #7D1D1D
square
#4D7D1D #1D7D7D #4D1D7D #7D1D1D
split-complementary
#4D7D1D #1D1D7D #7D1D7D
monochromatic
#101A06 #2E4B11 #4D7D1D #6CAF29 #8AD341

Accessibility & contrast

On white

4.92
#4D7D1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#4D7D1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7D1D
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7D1D#FFFFFF#000000##FFFFFF
##4D7D1D1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827309
Deuteranopia (green-blind)
#7C6F27
Tritanopia (blue-blind)
#4E786B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4d7d1d;
/* rgb */ color: rgb(77, 125, 29);
/* oklch */ color: oklch(53.6% 0.135 132.8);
Tailwind
colors: {
  custom: {
    50: '#83a360',
    500: '#4d7d1d',
    950: '#000000',
  },
}
SCSS
$custom: #4d7d1d;
$custom-light: #83a360;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7d1d",
  "rgb": {
    "r": 77,
    "g": 125,
    "b": 29
  },
  "hsl": {
    "h": 90,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.53571,
    "c": 0.13482,
    "h": 132.8
  },
  "luminance": 0.16334
}

Semantic roles & 50–950 ramp

primary
#4D7D1D
secondary
#7B45B1
accent
#42E594
background
#F8FAF5
surface
#EFF3EA
border
#CACDC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4D7D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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