#4D7E1B#4D7E1B

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

Color values

HEX#4D7E1B
RGBrgb(77, 126, 27)
HSLhsl(90, 65%, 30%)
HSVhsv(90, 79%, 49%)
CMYKcmyk(38.9%, 0%, 78.6%, 50.6%)
CIE-LABlab(47.72, -33.10, 45.25)
CIE-LCHlch(47.72, 56.07, 126.18°)
OKLaboklab(53.82% -0.0933 0.1008)
OKLCHoklch(53.82% 0.137 132.8)
XYZxyz(10.7191, 16.5781, 3.6718)
Luminance0.1658 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7E1B #4C1B7E
analogous
#7E7E1B #4D7E1B #1B7E1B
triadic
#4D7E1B #1B4D7E #7E1B4D
tetradic
#4D7E1B #1B7E7E #4C1B7E #7E1B1B
square
#4D7E1B #1B7E7E #4C1B7E #7E1B1B
split-complementary
#4D7E1B #1B1B7E #7E1B7E
monochromatic
#0F1905 #2E4C10 #4D7E1B #6CB026 #8AD63E

Accessibility & contrast

On white

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

On black

4.32
#4D7E1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4D7E1B#FFFFFF#000000##FFFFFF
##4D7E1B1.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d7e1b;
/* rgb */ color: rgb(77, 126, 27);
/* oklch */ color: oklch(53.8% 0.137 132.8);
Tailwind
colors: {
  custom: {
    50: '#83a460',
    500: '#4d7e1b',
    950: '#000000',
  },
}
SCSS
$custom: #4d7e1b;
$custom-light: #83a460;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7e1b",
  "rgb": {
    "r": 77,
    "g": 126,
    "b": 27
  },
  "hsl": {
    "h": 89.697,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.53824,
    "c": 0.13734,
    "h": 132.8
  },
  "luminance": 0.16579
}

Semantic roles & 50–950 ramp

primary
#4D7E1B
secondary
#7A43B2
accent
#40E893
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4D7E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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