#4F861B#4F861B

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

Color values

HEX#4F861B
RGBrgb(79, 134, 27)
HSLhsl(91, 66%, 32%)
HSVhsv(91, 80%, 53%)
CMYKcmyk(41%, 0%, 79.9%, 47.5%)
CIE-LABlab(50.44, -35.92, 47.88)
CIE-LCHlch(50.44, 59.86, 126.88°)
OKLaboklab(56.08% -0.1011 0.1062)
OKLCHoklch(56.08% 0.147 133.6)
XYZxyz(11.9472, 18.7910, 4.0342)
Luminance0.1879 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F861B #521B86
analogous
#85861B #4F861B #1B861C
triadic
#4F861B #1B4F86 #861B4F
tetradic
#4F861B #1B8586 #521B86 #861C1B
square
#4F861B #1B8586 #521B86 #861C1B
split-complementary
#4F861B #1C1B86 #861B85
monochromatic
#132006 #315311 #4F861B #6DB925 #8CD942

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F861B#FFFFFF#000000##000000
##4F861B1.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)
#8C7B00
Deuteranopia (green-blind)
#847627
Tritanopia (blue-blind)
#4F8072
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4f861b;
/* rgb */ color: rgb(79, 134, 27);
/* oklch */ color: oklch(56.1% 0.147 133.6);
Tailwind
colors: {
  custom: {
    50: '#86a961',
    500: '#4f861b',
    950: '#000000',
  },
}
SCSS
$custom: #4f861b;
$custom-light: #86a961;
$custom-dark: #000000;
JSON
{
  "hex": "#4f861b",
  "rgb": {
    "r": 79,
    "g": 134,
    "b": 27
  },
  "hsl": {
    "h": 90.841,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56076,
    "c": 0.14662,
    "h": 133.6
  },
  "luminance": 0.18792
}

Semantic roles & 50–950 ramp

primary
#4F861B
secondary
#8044B9
accent
#3EE996
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4F861B

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

Preview Lab → · Contrast checker → · Palette generator →

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