#4F891B#4F891B

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

Color values

HEX#4F891B
RGBrgb(79, 137, 27)
HSLhsl(92, 67%, 32%)
HSVhsv(92, 80%, 54%)
CMYKcmyk(42.3%, 0%, 80.3%, 46.3%)
CIE-LABlab(51.42, -37.23, 48.80)
CIE-LCHlch(51.42, 61.38, 127.34°)
OKLaboklab(56.88% -0.1046 0.1082)
OKLCHoklch(56.88% 0.15 134)
XYZxyz(12.3677, 19.6321, 4.1744)
Luminance0.1963 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F891B #551B89
analogous
#86891B #4F891B #1B891E
triadic
#4F891B #1B4F89 #891B4F
tetradic
#4F891B #1B8689 #551B89 #891E1B
square
#4F891B #1B8689 #551B89 #891E1B
split-complementary
#4F891B #1E1B89 #891B86
monochromatic
#142307 #325611 #4F891B #6CBC25 #8BDA44

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F891B#FFFFFF#000000##000000
##4F891B1.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)
#8F7D00
Deuteranopia (green-blind)
#877927
Tritanopia (blue-blind)
#4E8375
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4f891b;
/* rgb */ color: rgb(79, 137, 27);
/* oklch */ color: oklch(56.9% 0.150 134.0);
Tailwind
colors: {
  custom: {
    50: '#86ac61',
    500: '#4f891b',
    950: '#000000',
  },
}
SCSS
$custom: #4f891b;
$custom-light: #86ac61;
$custom-dark: #000000;
JSON
{
  "hex": "#4f891b",
  "rgb": {
    "r": 79,
    "g": 137,
    "b": 27
  },
  "hsl": {
    "h": 91.636,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56876,
    "c": 0.15045,
    "h": 134
  },
  "luminance": 0.19633
}

Semantic roles & 50–950 ramp

primary
#4F891B
secondary
#8344BC
accent
#3EEA99
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4F891B

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

Preview Lab → · Contrast checker → · Palette generator →

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