#4D7E1A#4D7E1A

#4D7E1A is a mid, vivid yellow-green. Relative luminance 0.166; OKLCH L 53.8% C 0.138 H 132.7°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#4D7E1A
RGBrgb(77, 126, 26)
HSLhsl(89, 66%, 30%)
HSVhsv(89, 79%, 49%)
CMYKcmyk(38.9%, 0%, 79.4%, 50.6%)
CIE-LABlab(47.72, -33.16, 45.60)
CIE-LCHlch(47.72, 56.38, 126.03°)
OKLaboklab(53.82% -0.0936 0.1013)
OKLCHoklch(53.82% 0.138 132.7)
XYZxyz(10.7077, 16.5736, 3.6119)
Luminance0.1657 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7E1A #4B1A7E
analogous
#7E7D1A #4D7E1A #1B7E1A
triadic
#4D7E1A #1A4D7E #7E1A4D
tetradic
#4D7E1A #1A7E7D #4B1A7E #7E1A1B
square
#4D7E1A #1A7E7D #4B1A7E #7E1A1B
split-complementary
#4D7E1A #1A1B7E #7D1A7E
monochromatic
#101905 #2E4B10 #4D7E1A #6CB124 #8BD73C

Accessibility & contrast

On white

4.87
#4D7E1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#4D7E1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7E1A
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7E1A#FFFFFF#000000##FFFFFF
##4D7E1A1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837402
Deuteranopia (green-blind)
#7D7025
Tritanopia (blue-blind)
#4E796B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4d7e1a;
/* rgb */ color: rgb(77, 126, 26);
/* oklch */ color: oklch(53.8% 0.138 132.7);
Tailwind
colors: {
  custom: {
    50: '#83a45f',
    500: '#4d7e1a',
    950: '#000000',
  },
}
SCSS
$custom: #4d7e1a;
$custom-light: #83a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7e1a",
  "rgb": {
    "r": 77,
    "g": 126,
    "b": 26
  },
  "hsl": {
    "h": 89.4,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53818,
    "c": 0.1379,
    "h": 132.7
  },
  "luminance": 0.16574
}

Semantic roles & 50–950 ramp

primary
#4D7E1A
secondary
#7942B2
accent
#3FE992
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4D7E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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