#4F861F#4F861F

#4F861F is a mid, vivid yellow-green. Relative luminance 0.188; OKLCH L 56.1% C 0.144 H 133.9°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#4F861F
RGBrgb(79, 134, 31)
HSLhsl(92, 62%, 32%)
HSVhsv(92, 77%, 53%)
CMYKcmyk(41%, 0%, 76.9%, 47.5%)
CIE-LABlab(50.47, -35.68, 46.51)
CIE-LCHlch(50.47, 58.62, 127.49°)
OKLaboklab(56.1% -0.1001 0.104)
OKLCHoklch(56.1% 0.144 133.9)
XYZxyz(11.9967, 18.8108, 4.2948)
Luminance0.1881 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F861F #561F86
analogous
#82861F #4F861F #1F8623
triadic
#4F861F #1F4F86 #861F4F
tetradic
#4F861F #1F8286 #561F86 #86231F
square
#4F861F #1F8286 #561F86 #86231F
split-complementary
#4F861F #231F86 #861F82
monochromatic
#142308 #325414 #4F861F #6CB82A #8BD54A

Accessibility & contrast

On white

4.41
#4F861F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#4F861F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F861F
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F861F#FFFFFF#000000##000000
##4F861F1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B09
Deuteranopia (green-blind)
#847729
Tritanopia (blue-blind)
#4F8172
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4f861f;
/* rgb */ color: rgb(79, 134, 31);
/* oklch */ color: oklch(56.1% 0.144 133.9);
Tailwind
colors: {
  custom: {
    50: '#85a963',
    500: '#4f861f',
    950: '#000000',
  },
}
SCSS
$custom: #4f861f;
$custom-light: #85a963;
$custom-dark: #000000;
JSON
{
  "hex": "#4f861f",
  "rgb": {
    "r": 79,
    "g": 134,
    "b": 31
  },
  "hsl": {
    "h": 92.039,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56102,
    "c": 0.14436,
    "h": 133.9
  },
  "luminance": 0.18811
}

Semantic roles & 50–950 ramp

primary
#4F861F
secondary
#8449B8
accent
#42E599
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4F861F

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

Preview Lab → · Contrast checker → · Palette generator →

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