#4F881B#4F881B

#4F881B is a mid, vivid yellow-green. Relative luminance 0.194; OKLCH L 56.6% C 0.149 H 133.9°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#4F881B
RGBrgb(79, 136, 27)
HSLhsl(91, 67%, 32%)
HSVhsv(91, 80%, 53%)
CMYKcmyk(41.9%, 0%, 80.1%, 46.7%)
CIE-LABlab(51.09, -36.80, 48.49)
CIE-LCHlch(51.09, 60.87, 127.19°)
OKLaboklab(56.61% -0.1034 0.1075)
OKLCHoklch(56.61% 0.149 133.9)
XYZxyz(12.2262, 19.3491, 4.1272)
Luminance0.1935 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F881B #541B88
analogous
#86881B #4F881B #1B881E
triadic
#4F881B #1B4F88 #881B4F
tetradic
#4F881B #1B8688 #541B88 #881E1B
square
#4F881B #1B8688 #541B88 #881E1B
split-complementary
#4F881B #1E1B88 #881B86
monochromatic
#142207 #315511 #4F881B #6DBB25 #8BDA44

Accessibility & contrast

On white

4.31
#4F881B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#4F881B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F881B
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F881B#FFFFFF#000000##000000
##4F881B1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#867827
Tritanopia (blue-blind)
#4F8274
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4f881b;
/* rgb */ color: rgb(79, 136, 27);
/* oklch */ color: oklch(56.6% 0.149 133.9);
Tailwind
colors: {
  custom: {
    50: '#86ab61',
    500: '#4f881b',
    950: '#000000',
  },
}
SCSS
$custom: #4f881b;
$custom-light: #86ab61;
$custom-dark: #000000;
JSON
{
  "hex": "#4f881b",
  "rgb": {
    "r": 79,
    "g": 136,
    "b": 27
  },
  "hsl": {
    "h": 91.376,
    "s": 66.871,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56609,
    "c": 0.14918,
    "h": 133.9
  },
  "luminance": 0.1935
}

Semantic roles & 50–950 ramp

primary
#4F881B
secondary
#8244BB
accent
#3EEA98
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4F881B

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

Preview Lab → · Contrast checker → · Palette generator →

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