#4D791D#4D791D

#4D791D is a mid, vivid yellow-green. Relative luminance 0.153; OKLCH L 52.5% C 0.129 H 132.0°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#4D791D
RGBrgb(77, 121, 29)
HSLhsl(89, 61%, 29%)
HSVhsv(89, 76%, 47%)
CMYKcmyk(36.4%, 0%, 76%, 52.5%)
CIE-LABlab(46.10, -30.68, 42.93)
CIE-LCHlch(46.10, 52.77, 125.55°)
OKLaboklab(52.5% -0.0866 0.0962)
OKLCHoklch(52.5% 0.129 132)
XYZxyz(10.1196, 15.3408, 3.5900)
Luminance0.1534 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D791D #491D79
analogous
#79771D #4D791D #1F791D
triadic
#4D791D #1D4D79 #791D4D
tetradic
#4D791D #1D7977 #491D79 #791D1F
square
#4D791D #1D7977 #491D79 #791D1F
split-complementary
#4D791D #1D1F79 #771D79
monochromatic
#101906 #2E4811 #4D791D #6CAA29 #8BD13F

Accessibility & contrast

On white

5.16
#4D791D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#4D791D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D791D
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D791D#FFFFFF#000000##FFFFFF
##4D791D1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F0B
Deuteranopia (green-blind)
#786C26
Tritanopia (blue-blind)
#4E7467
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4d791d;
/* rgb */ color: rgb(77, 121, 29);
/* oklch */ color: oklch(52.5% 0.129 132.0);
Tailwind
colors: {
  custom: {
    50: '#83a060',
    500: '#4d791d',
    950: '#000000',
  },
}
SCSS
$custom: #4d791d;
$custom-light: #83a060;
$custom-dark: #000000;
JSON
{
  "hex": "#4d791d",
  "rgb": {
    "r": 77,
    "g": 121,
    "b": 29
  },
  "hsl": {
    "h": 88.696,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.525,
    "c": 0.12947,
    "h": 132
  },
  "luminance": 0.15341
}

Semantic roles & 50–950 ramp

primary
#4D791D
secondary
#7745AD
accent
#43E490
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4D791D

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

Preview Lab → · Contrast checker → · Palette generator →

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