#4F772D#4F772D

#4F772D is a mid, moderate yellow-green. Relative luminance 0.150; OKLCH L 52.2% C 0.113 H 132.9°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#4F772D
RGBrgb(79, 119, 45)
HSLhsl(92, 45%, 32%)
HSVhsv(92, 62%, 47%)
CMYKcmyk(33.6%, 0%, 62.2%, 53.3%)
CIE-LABlab(45.70, -27.59, 35.51)
CIE-LCHlch(45.70, 44.97, 127.85°)
OKLaboklab(52.25% -0.0769 0.0828)
OKLCHoklch(52.25% 0.113 132.9)
XYZxyz(10.2948, 15.0450, 4.8437)
Luminance0.1505 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F772D #552D77
analogous
#74772D #4F772D #2D7730
triadic
#4F772D #2D4F77 #772D4F
tetradic
#4F772D #2D7477 #552D77 #77302D
square
#4F772D #2D7477 #552D77 #77302D
split-complementary
#4F772D #302D77 #772D74
monochromatic
#141E0B #324B1C #4F772D #6CA33E #8BC25D

Accessibility & contrast

On white

5.24
#4F772D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#4F772D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F772D
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F772D#FFFFFF#000000##FFFFFF
##4F772D1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E25
Deuteranopia (green-blind)
#766B32
Tritanopia (blue-blind)
#507267
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4f772d;
/* rgb */ color: rgb(79, 119, 45);
/* oklch */ color: oklch(52.2% 0.113 132.9);
Tailwind
colors: {
  custom: {
    50: '#839e69',
    500: '#4f772d',
    950: '#000000',
  },
}
SCSS
$custom: #4f772d;
$custom-light: #839e69;
$custom-dark: #000000;
JSON
{
  "hex": "#4f772d",
  "rgb": {
    "r": 79,
    "g": 119,
    "b": 45
  },
  "hsl": {
    "h": 92.432,
    "s": 45.122,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52247,
    "c": 0.11301,
    "h": 132.9
  },
  "luminance": 0.15045
}

Semantic roles & 50–950 ramp

primary
#4F772D
secondary
#8358A8
accent
#53D599
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #4F772D

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

Preview Lab → · Contrast checker → · Palette generator →

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