#4D7D1A#4D7D1A

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

Color values

HEX#4D7D1A
RGBrgb(77, 125, 26)
HSLhsl(89, 66%, 30%)
HSVhsv(89, 79%, 49%)
CMYKcmyk(38.4%, 0%, 79.2%, 51%)
CIE-LABlab(47.39, -32.71, 45.28)
CIE-LCHlch(47.39, 55.86, 125.84°)
OKLaboklab(53.55% -0.0923 0.1007)
OKLCHoklch(53.55% 0.137 132.5)
XYZxyz(10.5805, 16.3191, 3.5695)
Luminance0.1632 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7D1A #4A1A7D
analogous
#7D7C1A #4D7D1A #1B7D1A
triadic
#4D7D1A #1A4D7D #7D1A4D
tetradic
#4D7D1A #1A7D7C #4A1A7D #7D1A1B
square
#4D7D1A #1A7D7C #4A1A7D #7D1A1B
split-complementary
#4D7D1A #1A1B7D #7C1A7D
monochromatic
#101905 #2E4A0F #4D7D1A #6CB025 #8BD63B

Accessibility & contrast

On white

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

On black

4.26
#4D7D1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4D7D1A#FFFFFF#000000##FFFFFF
##4D7D1A1.004.924.264.92
#FFFFFF4.921.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827302
Deuteranopia (green-blind)
#7C6F24
Tritanopia (blue-blind)
#4E786A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4d7d1a;
/* rgb */ color: rgb(77, 125, 26);
/* oklch */ color: oklch(53.5% 0.137 132.5);
Tailwind
colors: {
  custom: {
    50: '#83a35f',
    500: '#4d7d1a',
    950: '#000000',
  },
}
SCSS
$custom: #4d7d1a;
$custom-light: #83a35f;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7d1a",
  "rgb": {
    "r": 77,
    "g": 125,
    "b": 26
  },
  "hsl": {
    "h": 89.091,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.5355,
    "c": 0.1366,
    "h": 132.5
  },
  "luminance": 0.1632
}

Semantic roles & 50–950 ramp

primary
#4D7D1A
secondary
#7842B1
accent
#3FE991
background
#F8FAF5
surface
#EFF3EA
border
#CACDC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4D7D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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