#4F861A#4F861A

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

Color values

HEX#4F861A
RGBrgb(79, 134, 26)
HSLhsl(91, 68%, 31%)
HSVhsv(91, 81%, 53%)
CMYKcmyk(41%, 0%, 80.6%, 47.5%)
CIE-LABlab(50.44, -35.98, 48.20)
CIE-LCHlch(50.44, 60.15, 126.74°)
OKLaboklab(56.07% -0.1013 0.1067)
OKLCHoklch(56.07% 0.147 133.5)
XYZxyz(11.9358, 18.7864, 3.9743)
Luminance0.1879 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F861A #511A86
analogous
#85861A #4F861A #1A861B
triadic
#4F861A #1A4F86 #861A4F
tetradic
#4F861A #1A8586 #511A86 #861B1A
square
#4F861A #1A8586 #511A86 #861B1A
split-complementary
#4F861A #1B1A86 #861A85
monochromatic
#131F06 #315310 #4F861A #6DB924 #8CDA40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F861A#FFFFFF#000000##000000
##4F861A1.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)
#847626
Tritanopia (blue-blind)
#4F8072
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4f861a;
/* rgb */ color: rgb(79, 134, 26);
/* oklch */ color: oklch(56.1% 0.147 133.5);
Tailwind
colors: {
  custom: {
    50: '#86a960',
    500: '#4f861a',
    950: '#000000',
  },
}
SCSS
$custom: #4f861a;
$custom-light: #86a960;
$custom-dark: #000000;
JSON
{
  "hex": "#4f861a",
  "rgb": {
    "r": 79,
    "g": 134,
    "b": 26
  },
  "hsl": {
    "h": 90.556,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5607,
    "c": 0.14715,
    "h": 133.5
  },
  "luminance": 0.18787
}

Semantic roles & 50–950 ramp

primary
#4F861A
secondary
#7F42B9
accent
#3DEA96
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #4F861A

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

Preview Lab → · Contrast checker → · Palette generator →

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