#4F862F#4F862F

#4F862F is a mid, vivid yellow-green. Relative luminance 0.189; OKLCH L 56.2% C 0.133 H 135.8°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#4F862F
RGBrgb(79, 134, 47)
HSLhsl(98, 48%, 35%)
HSVhsv(98, 65%, 53%)
CMYKcmyk(41%, 0%, 64.9%, 47.5%)
CIE-LABlab(50.59, -34.38, 40.02)
CIE-LCHlch(50.59, 52.76, 130.66°)
OKLaboklab(56.25% -0.0954 0.0926)
OKLCHoklch(56.25% 0.133 135.8)
XYZxyz(12.2623, 18.9171, 5.6940)
Luminance0.1892 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F862F #662F86
analogous
#7A862F #4F862F #2F863A
triadic
#4F862F #2F4F86 #862F4F
tetradic
#4F862F #2F7A86 #662F86 #863A2F
square
#4F862F #2F7A86 #662F86 #863A2F
split-complementary
#4F862F #3A2F86 #862F7A
monochromatic
#1A2B0F #34591F #4F862F #6AB33F #8BC966

Accessibility & contrast

On white

4.39
#4F862F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#4F862F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F862F
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F862F#FFFFFF#000000##000000
##4F862F1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B25
Deuteranopia (green-blind)
#837736
Tritanopia (blue-blind)
#4D8174
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4f862f;
/* rgb */ color: rgb(79, 134, 47);
/* oklch */ color: oklch(56.2% 0.133 135.8);
Tailwind
colors: {
  custom: {
    50: '#85a96b',
    500: '#4f862f',
    950: '#000000',
  },
}
SCSS
$custom: #4f862f;
$custom-light: #85a96b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f862f",
  "rgb": {
    "r": 79,
    "g": 134,
    "b": 47
  },
  "hsl": {
    "h": 97.931,
    "s": 48.066,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56245,
    "c": 0.13292,
    "h": 135.8
  },
  "luminance": 0.18918
}

Semantic roles & 50–950 ramp

primary
#4F862F
secondary
#9360B0
accent
#50D8A6
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4F862F

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

Preview Lab → · Contrast checker → · Palette generator →

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