#4F792D#4F792D

#4F792D is a mid, moderate yellow-green. Relative luminance 0.155; OKLCH L 52.8% C 0.116 H 133.3°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#4F792D
RGBrgb(79, 121, 45)
HSLhsl(93, 46%, 33%)
HSVhsv(93, 63%, 47%)
CMYKcmyk(34.7%, 0%, 62.8%, 52.5%)
CIE-LABlab(46.35, -28.55, 36.24)
CIE-LCHlch(46.35, 46.14, 128.24°)
OKLaboklab(52.78% -0.0796 0.0843)
OKLCHoklch(52.78% 0.116 133.3)
XYZxyz(10.5353, 15.5261, 4.9239)
Luminance0.1553 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F792D #572D79
analogous
#75792D #4F792D #2D7931
triadic
#4F792D #2D4F79 #792D4F
tetradic
#4F792D #2D7579 #572D79 #79312D
square
#4F792D #2D7579 #572D79 #79312D
split-complementary
#4F792D #312D79 #792D75
monochromatic
#15200C #324C1C #4F792D #6CA63E #8BC35D

Accessibility & contrast

On white

5.12
#4F792D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#4F792D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F792D
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F792D#FFFFFF#000000##FFFFFF
##4F792D1.005.124.115.12
#FFFFFF5.121.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7025
Deuteranopia (green-blind)
#786D33
Tritanopia (blue-blind)
#4F7469
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4f792d;
/* rgb */ color: rgb(79, 121, 45);
/* oklch */ color: oklch(52.8% 0.116 133.3);
Tailwind
colors: {
  custom: {
    50: '#83a069',
    500: '#4f792d',
    950: '#000000',
  },
}
SCSS
$custom: #4f792d;
$custom-light: #83a069;
$custom-dark: #000000;
JSON
{
  "hex": "#4f792d",
  "rgb": {
    "r": 79,
    "g": 121,
    "b": 45
  },
  "hsl": {
    "h": 93.158,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52777,
    "c": 0.11595,
    "h": 133.3
  },
  "luminance": 0.15526
}

Semantic roles & 50–950 ramp

primary
#4F792D
secondary
#8558A9
accent
#52D59B
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #4F792D

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

Preview Lab → · Contrast checker → · Palette generator →

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