#4F772F#4F772F

#4F772F is a mid, moderate yellow-green. Relative luminance 0.151; OKLCH L 52.3% C 0.111 H 133.3°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#4F772F
RGBrgb(79, 119, 47)
HSLhsl(93, 43%, 33%)
HSVhsv(93, 61%, 47%)
CMYKcmyk(33.6%, 0%, 60.5%, 53.3%)
CIE-LABlab(45.72, -27.38, 34.55)
CIE-LCHlch(45.72, 44.08, 128.40°)
OKLaboklab(52.27% -0.0762 0.0809)
OKLCHoklch(52.27% 0.111 133.3)
XYZxyz(10.3342, 15.0608, 5.0513)
Luminance0.1506 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F772F #572F77
analogous
#73772F #4F772F #2F7733
triadic
#4F772F #2F4F77 #772F4F
tetradic
#4F772F #2F7377 #572F77 #77332F
square
#4F772F #2F7377 #572F77 #77332F
split-complementary
#4F772F #332F77 #772F73
monochromatic
#151F0C #324B1E #4F772F #6CA340 #8BC060

Accessibility & contrast

On white

5.23
#4F772F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4F772F
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F772F#FFFFFF#000000##FFFFFF
##4F772F1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E27
Deuteranopia (green-blind)
#766B34
Tritanopia (blue-blind)
#4F7267
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4f772f;
/* rgb */ color: rgb(79, 119, 47);
/* oklch */ color: oklch(52.3% 0.111 133.3);
Tailwind
colors: {
  custom: {
    50: '#839e6a',
    500: '#4f772f',
    950: '#000000',
  },
}
SCSS
$custom: #4f772f;
$custom-light: #839e6a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f772f",
  "rgb": {
    "r": 79,
    "g": 119,
    "b": 47
  },
  "hsl": {
    "h": 93.333,
    "s": 43.373,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52272,
    "c": 0.11115,
    "h": 133.3
  },
  "luminance": 0.15061
}

Semantic roles & 50–950 ramp

primary
#4F772F
secondary
#855BA7
accent
#55D39B
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E07
muted
#7C7E7A

Preview Lab

Preview with #4F772F

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

Preview Lab → · Contrast checker → · Palette generator →

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