#4D7D1E#4D7D1E

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

Color values

HEX#4D7D1E
RGBrgb(77, 125, 30)
HSLhsl(90, 61%, 30%)
HSVhsv(90, 76%, 49%)
CMYKcmyk(38.4%, 0%, 76%, 51%)
CIE-LABlab(47.42, -32.45, 43.85)
CIE-LCHlch(47.42, 54.56, 126.50°)
OKLaboklab(53.58% -0.0913 0.0983)
OKLCHoklch(53.58% 0.134 132.9)
XYZxyz(10.6284, 16.3383, 3.8216)
Luminance0.1634 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7D1E #4E1E7D
analogous
#7C7D1E #4D7D1E #1E7D1F
triadic
#4D7D1E #1E4D7D #7D1E4D
tetradic
#4D7D1E #1E7C7D #4E1E7D #7D1F1E
square
#4D7D1E #1E7C7D #4E1E7D #7D1F1E
split-complementary
#4D7D1E #1F1E7D #7D1E7C
monochromatic
#101A06 #2F4C12 #4D7D1E #6BAE2A #8AD243

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D7D1E#FFFFFF#000000##FFFFFF
##4D7D1E1.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)
#82730B
Deuteranopia (green-blind)
#7C6F27
Tritanopia (blue-blind)
#4D786B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4d7d1e;
/* rgb */ color: rgb(77, 125, 30);
/* oklch */ color: oklch(53.6% 0.134 132.9);
Tailwind
colors: {
  custom: {
    50: '#83a361',
    500: '#4d7d1e',
    950: '#000000',
  },
}
SCSS
$custom: #4d7d1e;
$custom-light: #83a361;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7d1e",
  "rgb": {
    "r": 77,
    "g": 125,
    "b": 30
  },
  "hsl": {
    "h": 90.316,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53578,
    "c": 0.1342,
    "h": 132.9
  },
  "luminance": 0.16339
}

Semantic roles & 50–950 ramp

primary
#4D7D1E
secondary
#7C46B0
accent
#43E495
background
#F8FAF5
surface
#EFF3EA
border
#CACDC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4D7D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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