#4D7E19#4D7E19

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

Color values

HEX#4D7E19
RGBrgb(77, 126, 25)
HSLhsl(89, 67%, 30%)
HSVhsv(89, 80%, 49%)
CMYKcmyk(38.9%, 0%, 80.2%, 50.6%)
CIE-LABlab(47.71, -33.22, 45.93)
CIE-LCHlch(47.71, 56.69, 125.88°)
OKLaboklab(53.81% -0.0938 0.1019)
OKLCHoklch(53.81% 0.138 132.6)
XYZxyz(10.6967, 16.5692, 3.5541)
Luminance0.1657 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7E19 #4A197E
analogous
#7E7D19 #4D7E19 #1B7E19
triadic
#4D7E19 #194D7E #7E194D
tetradic
#4D7E19 #197E7D #4A197E #7E191B
square
#4D7E19 #197E7D #4A197E #7E191B
split-complementary
#4D7E19 #191B7E #7D197E
monochromatic
#101A05 #2E4B0F #4D7E19 #6CB123 #8BD83A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D7E19#FFFFFF#000000##FFFFFF
##4D7E191.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)
#847400
Deuteranopia (green-blind)
#7D7024
Tritanopia (blue-blind)
#4E796B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4d7e19;
/* rgb */ color: rgb(77, 126, 25);
/* oklch */ color: oklch(53.8% 0.138 132.6);
Tailwind
colors: {
  custom: {
    50: '#83a45f',
    500: '#4d7e19',
    950: '#000000',
  },
}
SCSS
$custom: #4d7e19;
$custom-light: #83a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7e19",
  "rgb": {
    "r": 77,
    "g": 126,
    "b": 25
  },
  "hsl": {
    "h": 89.109,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53811,
    "c": 0.13846,
    "h": 132.6
  },
  "luminance": 0.1657
}

Semantic roles & 50–950 ramp

primary
#4D7E19
secondary
#7841B2
accent
#3EEA91
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4D7E19

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

Preview Lab → · Contrast checker → · Palette generator →

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