#4E791A#4E791A

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

Color values

HEX#4E791A
RGBrgb(78, 121, 26)
HSLhsl(87, 65%, 29%)
HSVhsv(87, 79%, 47%)
CMYKcmyk(35.5%, 0%, 78.5%, 52.5%)
CIE-LABlab(46.13, -30.48, 44.10)
CIE-LCHlch(46.13, 53.61, 124.65°)
OKLaboklab(52.54% -0.0864 0.0982)
OKLCHoklch(52.54% 0.131 131.4)
XYZxyz(10.1656, 15.3686, 3.4079)
Luminance0.1537 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E791A #451A79
analogous
#79751A #4E791A #1F791A
triadic
#4E791A #1A4E79 #791A4E
tetradic
#4E791A #1A7975 #451A79 #791A1F
square
#4E791A #1A7975 #451A79 #791A1F
split-complementary
#4E791A #1A1F79 #751A79
monochromatic
#101905 #2E470F #4E791A #6EAB25 #8ED439

Accessibility & contrast

On white

5.15
#4E791A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E791A
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E791A#FFFFFF#000000##FFFFFF
##4E791A1.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e791a;
/* rgb */ color: rgb(78, 121, 26);
/* oklch */ color: oklch(52.5% 0.131 131.4);
Tailwind
colors: {
  custom: {
    50: '#84a05e',
    500: '#4e791a',
    950: '#000000',
  },
}
SCSS
$custom: #4e791a;
$custom-light: #84a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e791a",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 26
  },
  "hsl": {
    "h": 87.158,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.5254,
    "c": 0.13076,
    "h": 131.4
  },
  "luminance": 0.15369
}

Semantic roles & 50–950 ramp

primary
#4E791A
secondary
#7241AD
accent
#40E88C
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4E791A

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

Preview Lab → · Contrast checker → · Palette generator →

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