#4F791D#4F791D

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

Color values

HEX#4F791D
RGBrgb(79, 121, 29)
HSLhsl(87, 61%, 29%)
HSVhsv(87, 76%, 47%)
CMYKcmyk(34.7%, 0%, 76%, 52.5%)
CIE-LABlab(46.21, -29.90, 43.08)
CIE-LCHlch(46.21, 52.44, 124.76°)
OKLaboklab(52.62% -0.0846 0.0965)
OKLCHoklch(52.62% 0.128 131.3)
XYZxyz(10.2835, 15.4253, 3.5977)
Luminance0.1543 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F791D #471D79
analogous
#79751D #4F791D #21791D
triadic
#4F791D #1D4F79 #791D4F
tetradic
#4F791D #1D7975 #471D79 #791D21
square
#4F791D #1D7975 #471D79 #791D21
split-complementary
#4F791D #1D2179 #751D79
monochromatic
#101906 #2F4811 #4F791D #6FAA29 #8FD13F

Accessibility & contrast

On white

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

On black

4.09
#4F791D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4F791D#FFFFFF#000000##FFFFFF
##4F791D1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f791d;
/* rgb */ color: rgb(79, 121, 29);
/* oklch */ color: oklch(52.6% 0.128 131.3);
Tailwind
colors: {
  custom: {
    50: '#84a060',
    500: '#4f791d',
    950: '#000000',
  },
}
SCSS
$custom: #4f791d;
$custom-light: #84a060;
$custom-dark: #000000;
JSON
{
  "hex": "#4f791d",
  "rgb": {
    "r": 79,
    "g": 121,
    "b": 29
  },
  "hsl": {
    "h": 87.391,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52623,
    "c": 0.12835,
    "h": 131.3
  },
  "luminance": 0.15426
}

Semantic roles & 50–950 ramp

primary
#4F791D
secondary
#7445AD
accent
#43E48D
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4F791D

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

Preview Lab → · Contrast checker → · Palette generator →

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