#4F871B#4F871B

#4F871B is a mid, vivid yellow-green. Relative luminance 0.191; OKLCH L 56.3% C 0.148 H 133.7°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#4F871B
RGBrgb(79, 135, 27)
HSLhsl(91, 67%, 32%)
HSVhsv(91, 80%, 53%)
CMYKcmyk(41.5%, 0%, 80%, 47.1%)
CIE-LABlab(50.77, -36.36, 48.19)
CIE-LCHlch(50.77, 60.37, 127.04°)
OKLaboklab(56.34% -0.1022 0.1069)
OKLCHoklch(56.34% 0.148 133.7)
XYZxyz(12.0860, 19.0687, 4.0805)
Luminance0.1907 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F871B #531B87
analogous
#85871B #4F871B #1B871D
triadic
#4F871B #1B4F87 #871B4F
tetradic
#4F871B #1B8587 #531B87 #871D1B
square
#4F871B #1B8587 #531B87 #871D1B
split-complementary
#4F871B #1D1B87 #871B85
monochromatic
#132107 #315411 #4F871B #6DBA25 #8BD943

Accessibility & contrast

On white

4.36
#4F871B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#4F871B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F871B
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F871B#FFFFFF#000000##000000
##4F871B1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#857727
Tritanopia (blue-blind)
#4F8173
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4f871b;
/* rgb */ color: rgb(79, 135, 27);
/* oklch */ color: oklch(56.3% 0.148 133.7);
Tailwind
colors: {
  custom: {
    50: '#86aa61',
    500: '#4f871b',
    950: '#000000',
  },
}
SCSS
$custom: #4f871b;
$custom-light: #86aa61;
$custom-dark: #000000;
JSON
{
  "hex": "#4f871b",
  "rgb": {
    "r": 79,
    "g": 135,
    "b": 27
  },
  "hsl": {
    "h": 91.111,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56343,
    "c": 0.1479,
    "h": 133.7
  },
  "luminance": 0.19069
}

Semantic roles & 50–950 ramp

primary
#4F871B
secondary
#8144BA
accent
#3EEA97
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4F871B

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

Preview Lab → · Contrast checker → · Palette generator →

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