#4D7C1E#4D7C1E

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

Color values

HEX#4D7C1E
RGBrgb(77, 124, 30)
HSLhsl(90, 61%, 30%)
HSVhsv(90, 76%, 49%)
CMYKcmyk(37.9%, 0%, 75.8%, 51.4%)
CIE-LABlab(47.09, -32.00, 43.53)
CIE-LCHlch(47.09, 54.03, 126.32°)
OKLaboklab(53.31% -0.0901 0.0976)
OKLCHoklch(53.31% 0.133 132.7)
XYZxyz(10.5024, 16.0864, 3.7797)
Luminance0.1609 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7C1E #4D1E7C
analogous
#7C7C1E #4D7C1E #1E7C1E
triadic
#4D7C1E #1E4D7C #7C1E4D
tetradic
#4D7C1E #1E7C7C #4D1E7C #7C1E1E
square
#4D7C1E #1E7C7C #4D1E7C #7C1E1E
split-complementary
#4D7C1E #1E1E7C #7C1E7C
monochromatic
#101906 #2E4B12 #4D7C1E #6CAD2A #8AD143

Accessibility & contrast

On white

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

On black

4.22
#4D7C1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4D7C1E#FFFFFF#000000##FFFFFF
##4D7C1E1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81720C
Deuteranopia (green-blind)
#7B6E27
Tritanopia (blue-blind)
#4E776A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4d7c1e;
/* rgb */ color: rgb(77, 124, 30);
/* oklch */ color: oklch(53.3% 0.133 132.7);
Tailwind
colors: {
  custom: {
    50: '#83a261',
    500: '#4d7c1e',
    950: '#000000',
  },
}
SCSS
$custom: #4d7c1e;
$custom-light: #83a261;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7c1e",
  "rgb": {
    "r": 77,
    "g": 124,
    "b": 30
  },
  "hsl": {
    "h": 90,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.5331,
    "c": 0.13286,
    "h": 132.7
  },
  "luminance": 0.16087
}

Semantic roles & 50–950 ramp

primary
#4D7C1E
secondary
#7B46AF
accent
#44E494
background
#F8FAF5
surface
#EFF3EA
border
#CACDC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4D7C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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