#4F711F#4F711F

#4F711F is a mid, moderate yellow-green. Relative luminance 0.136; OKLCH L 50.5% C 0.116 H 129.4°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#4F711F
RGBrgb(79, 113, 31)
HSLhsl(85, 57%, 28%)
HSVhsv(85, 73%, 44%)
CMYKcmyk(30.1%, 0%, 72.6%, 55.7%)
CIE-LABlab(43.61, -25.91, 39.67)
CIE-LCHlch(43.61, 47.38, 123.15°)
OKLaboklab(50.51% -0.0736 0.0897)
OKLCHoklch(50.51% 0.116 129.4)
XYZxyz(9.3769, 13.5712, 3.4215)
Luminance0.1357 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F711F #411F71
analogous
#716A1F #4F711F #26711F
triadic
#4F711F #1F4F71 #711F4F
tetradic
#4F711F #1F716A #411F71 #711F26
square
#4F711F #1F716A #411F71 #711F26
split-complementary
#4F711F #1F2671 #6A1F71
monochromatic
#111807 #2D4112 #4F711F #71A12C #91CB40

Accessibility & contrast

On white

5.65
#4F711F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#4F711F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F711F
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F711F#FFFFFF#000000##FFFFFF
##4F711F1.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776912
Deuteranopia (green-blind)
#726626
Tritanopia (blue-blind)
#516C61
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4f711f;
/* rgb */ color: rgb(79, 113, 31);
/* oklch */ color: oklch(50.5% 0.116 129.4);
Tailwind
colors: {
  custom: {
    50: '#839a60',
    500: '#4f711f',
    950: '#000000',
  },
}
SCSS
$custom: #4f711f;
$custom-light: #839a60;
$custom-dark: #000000;
JSON
{
  "hex": "#4f711f",
  "rgb": {
    "r": 79,
    "g": 113,
    "b": 31
  },
  "hsl": {
    "h": 84.878,
    "s": 56.944,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50511,
    "c": 0.116,
    "h": 129.4
  },
  "luminance": 0.13571
}

Semantic roles & 50–950 ramp

primary
#4F711F
secondary
#6E47A5
accent
#48E087
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4F711F

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

Preview Lab → · Contrast checker → · Palette generator →

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