#4E791F#4E791F

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

Color values

HEX#4E791F
RGBrgb(78, 121, 31)
HSLhsl(89, 59%, 30%)
HSVhsv(89, 74%, 47%)
CMYKcmyk(35.5%, 0%, 74.4%, 52.5%)
CIE-LABlab(46.17, -30.15, 42.24)
CIE-LCHlch(46.17, 51.90, 125.52°)
OKLaboklab(52.58% -0.0851 0.0951)
OKLCHoklch(52.58% 0.128 131.8)
XYZxyz(10.2265, 15.3930, 3.7284)
Luminance0.1539 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E791F #4A1F79
analogous
#79771F #4E791F #21791F
triadic
#4E791F #1F4E79 #791F4E
tetradic
#4E791F #1F7977 #4A1F79 #791F21
square
#4E791F #1F7977 #4A1F79 #791F21
split-complementary
#4E791F #1F2179 #771F79
monochromatic
#101806 #2F4813 #4E791F #6DAA2B #8CCF43

Accessibility & contrast

On white

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

On black

4.08
#4E791F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4E791F#FFFFFF#000000##FFFFFF
##4E791F1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F0F
Deuteranopia (green-blind)
#786C27
Tritanopia (blue-blind)
#4F7467
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4e791f;
/* rgb */ color: rgb(78, 121, 31);
/* oklch */ color: oklch(52.6% 0.128 131.8);
Tailwind
colors: {
  custom: {
    50: '#83a061',
    500: '#4e791f',
    950: '#000000',
  },
}
SCSS
$custom: #4e791f;
$custom-light: #83a061;
$custom-dark: #000000;
JSON
{
  "hex": "#4e791f",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 31
  },
  "hsl": {
    "h": 88.667,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52577,
    "c": 0.12759,
    "h": 131.8
  },
  "luminance": 0.15393
}

Semantic roles & 50–950 ramp

primary
#4E791F
secondary
#7847AC
accent
#45E290
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4E791F

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

Preview Lab → · Contrast checker → · Palette generator →

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