#4D7C1A#4D7C1A

#4D7C1A is a mid, vivid yellow-green. Relative luminance 0.161; OKLCH L 53.3% C 0.135 H 132.3°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#4D7C1A
RGBrgb(77, 124, 26)
HSLhsl(89, 65%, 29%)
HSVhsv(89, 79%, 49%)
CMYKcmyk(37.9%, 0%, 79%, 51.4%)
CIE-LABlab(47.06, -32.26, 44.97)
CIE-LCHlch(47.06, 55.34, 125.65°)
OKLaboklab(53.28% -0.0911 0.1)
OKLCHoklch(53.28% 0.135 132.3)
XYZxyz(10.4545, 16.0672, 3.5275)
Luminance0.1607 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7C1A #491A7C
analogous
#7C7A1A #4D7C1A #1C7C1A
triadic
#4D7C1A #1A4D7C #7C1A4D
tetradic
#4D7C1A #1A7C7A #491A7C #7C1A1C
square
#4D7C1A #1A7C7A #491A7C #7C1A1C
split-complementary
#4D7C1A #1A1C7C #7A1A7C
monochromatic
#101905 #2E490F #4D7C1A #6CAF25 #8BD63B

Accessibility & contrast

On white

4.98
#4D7C1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#4D7C1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7C1A
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7C1A#FFFFFF#000000##FFFFFF
##4D7C1A1.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817203
Deuteranopia (green-blind)
#7B6E24
Tritanopia (blue-blind)
#4E776A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4d7c1a;
/* rgb */ color: rgb(77, 124, 26);
/* oklch */ color: oklch(53.3% 0.135 132.3);
Tailwind
colors: {
  custom: {
    50: '#83a25f',
    500: '#4d7c1a',
    950: '#000000',
  },
}
SCSS
$custom: #4d7c1a;
$custom-light: #83a25f;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7c1a",
  "rgb": {
    "r": 77,
    "g": 124,
    "b": 26
  },
  "hsl": {
    "h": 88.776,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53282,
    "c": 0.13528,
    "h": 132.3
  },
  "luminance": 0.16068
}

Semantic roles & 50–950 ramp

primary
#4D7C1A
secondary
#7742B0
accent
#40E890
background
#F8FAF5
surface
#EFF3EA
border
#CACDC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4D7C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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