#4F791A#4F791A

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

Color values

HEX#4F791A
RGBrgb(79, 121, 26)
HSLhsl(87, 65%, 29%)
HSVhsv(87, 79%, 47%)
CMYKcmyk(34.7%, 0%, 78.5%, 52.5%)
CIE-LABlab(46.19, -30.09, 44.18)
CIE-LCHlch(46.19, 53.45, 124.26°)
OKLaboklab(52.6% -0.0854 0.0983)
OKLCHoklch(52.6% 0.13 131)
XYZxyz(10.2482, 15.4112, 3.4118)
Luminance0.1541 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F791A #441A79
analogous
#79741A #4F791A #20791A
triadic
#4F791A #1A4F79 #791A4F
tetradic
#4F791A #1A7974 #441A79 #791A20
square
#4F791A #1A7974 #441A79 #791A20
split-complementary
#4F791A #1A2079 #741A79
monochromatic
#101905 #2E470F #4F791A #70AB25 #90D439

Accessibility & contrast

On white

5.14
#4F791A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4F791A
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F791A#FFFFFF#000000##FFFFFF
##4F791A1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F04
Deuteranopia (green-blind)
#796C24
Tritanopia (blue-blind)
#517467
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4f791a;
/* rgb */ color: rgb(79, 121, 26);
/* oklch */ color: oklch(52.6% 0.130 131.0);
Tailwind
colors: {
  custom: {
    50: '#84a05e',
    500: '#4f791a',
    950: '#000000',
  },
}
SCSS
$custom: #4f791a;
$custom-light: #84a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#4f791a",
  "rgb": {
    "r": 79,
    "g": 121,
    "b": 26
  },
  "hsl": {
    "h": 86.526,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52602,
    "c": 0.1302,
    "h": 131
  },
  "luminance": 0.15412
}

Semantic roles & 50–950 ramp

primary
#4F791A
secondary
#7141AD
accent
#40E88A
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4F791A

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

Preview Lab → · Contrast checker → · Palette generator →

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