#4D791A#4D791A

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

Color values

HEX#4D791A
RGBrgb(77, 121, 26)
HSLhsl(88, 65%, 29%)
HSVhsv(88, 79%, 47%)
CMYKcmyk(36.4%, 0%, 78.5%, 52.5%)
CIE-LABlab(46.08, -30.88, 44.03)
CIE-LCHlch(46.08, 53.77, 125.04°)
OKLaboklab(52.48% -0.0874 0.098)
OKLCHoklch(52.48% 0.131 131.7)
XYZxyz(10.0843, 15.3267, 3.4041)
Luminance0.1533 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D791A #461A79
analogous
#79761A #4D791A #1E791A
triadic
#4D791A #1A4D79 #791A4D
tetradic
#4D791A #1A7976 #461A79 #791A1E
square
#4D791A #1A7976 #461A79 #791A1E
split-complementary
#4D791A #1A1E79 #761A79
monochromatic
#101905 #2D470F #4D791A #6DAB25 #8CD439

Accessibility & contrast

On white

5.17
#4D791A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4D791A
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D791A#FFFFFF#000000##FFFFFF
##4D791A1.005.174.075.17
#FFFFFF5.171.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d791a;
/* rgb */ color: rgb(77, 121, 26);
/* oklch */ color: oklch(52.5% 0.131 131.7);
Tailwind
colors: {
  custom: {
    50: '#83a05e',
    500: '#4d791a',
    950: '#000000',
  },
}
SCSS
$custom: #4d791a;
$custom-light: #83a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#4d791a",
  "rgb": {
    "r": 77,
    "g": 121,
    "b": 26
  },
  "hsl": {
    "h": 87.789,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52478,
    "c": 0.13131,
    "h": 131.7
  },
  "luminance": 0.15327
}

Semantic roles & 50–950 ramp

primary
#4D791A
secondary
#7341AD
accent
#40E88E
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4D791A

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

Preview Lab → · Contrast checker → · Palette generator →

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