#4F891F#4F891F

#4F891F is a mid, vivid yellow-green. Relative luminance 0.197; OKLCH L 56.9% C 0.148 H 134.4°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#4F891F
RGBrgb(79, 137, 31)
HSLhsl(93, 63%, 33%)
HSVhsv(93, 77%, 54%)
CMYKcmyk(42.3%, 0%, 77.4%, 46.3%)
CIE-LABlab(51.44, -36.99, 47.46)
CIE-LCHlch(51.44, 60.18, 127.93°)
OKLaboklab(56.9% -0.1037 0.106)
OKLCHoklch(56.9% 0.148 134.4)
XYZxyz(12.4172, 19.6519, 4.4350)
Luminance0.1965 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F891F #591F89
analogous
#84891F #4F891F #1F8924
triadic
#4F891F #1F4F89 #891F4F
tetradic
#4F891F #1F8489 #591F89 #89241F
square
#4F891F #1F8489 #591F89 #89241F
split-complementary
#4F891F #241F89 #891F84
monochromatic
#152508 #325714 #4F891F #6CBB2A #8BD64C

Accessibility & contrast

On white

4.26
#4F891F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#4F891F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F891F
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F891F#FFFFFF#000000##000000
##4F891F1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E07
Deuteranopia (green-blind)
#87792A
Tritanopia (blue-blind)
#4E8375
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4f891f;
/* rgb */ color: rgb(79, 137, 31);
/* oklch */ color: oklch(56.9% 0.148 134.4);
Tailwind
colors: {
  custom: {
    50: '#86ac63',
    500: '#4f891f',
    950: '#000000',
  },
}
SCSS
$custom: #4f891f;
$custom-light: #86ac63;
$custom-dark: #000000;
JSON
{
  "hex": "#4f891f",
  "rgb": {
    "r": 79,
    "g": 137,
    "b": 31
  },
  "hsl": {
    "h": 92.83,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56902,
    "c": 0.14825,
    "h": 134.4
  },
  "luminance": 0.19653
}

Semantic roles & 50–950 ramp

primary
#4F891F
secondary
#874BB9
accent
#42E69C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4F891F

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

Preview Lab → · Contrast checker → · Palette generator →

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