#4F862C#4F862C

#4F862C is a mid, vivid yellow-green. Relative luminance 0.189; OKLCH L 56.2% C 0.135 H 135.4°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#4F862C
RGBrgb(79, 134, 44)
HSLhsl(97, 51%, 35%)
HSVhsv(97, 67%, 53%)
CMYKcmyk(41%, 0%, 67.2%, 47.5%)
CIE-LABlab(50.56, -34.66, 41.34)
CIE-LCHlch(50.56, 53.95, 129.98°)
OKLaboklab(56.21% -0.0964 0.095)
OKLCHoklch(56.21% 0.135 135.4)
XYZxyz(12.2039, 18.8937, 5.3862)
Luminance0.1889 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F862C #632C86
analogous
#7C862C #4F862C #2C8636
triadic
#4F862C #2C4F86 #862C4F
tetradic
#4F862C #2C7C86 #632C86 #86362C
square
#4F862C #2C7C86 #632C86 #86362C
split-complementary
#4F862C #362C86 #862C7C
monochromatic
#192A0E #34581D #4F862C #6AB43B #8ACB61

Accessibility & contrast

On white

4.39
#4F862C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#4F862C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F862C
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F862C#FFFFFF#000000##000000
##4F862C1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B20
Deuteranopia (green-blind)
#837733
Tritanopia (blue-blind)
#4E8173
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4f862c;
/* rgb */ color: rgb(79, 134, 44);
/* oklch */ color: oklch(56.2% 0.135 135.4);
Tailwind
colors: {
  custom: {
    50: '#85a96a',
    500: '#4f862c',
    950: '#000000',
  },
}
SCSS
$custom: #4f862c;
$custom-light: #85a96a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f862c",
  "rgb": {
    "r": 79,
    "g": 134,
    "b": 44
  },
  "hsl": {
    "h": 96.667,
    "s": 50.562,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56213,
    "c": 0.13534,
    "h": 135.4
  },
  "luminance": 0.18894
}

Semantic roles & 50–950 ramp

primary
#4F862C
secondary
#905CB1
accent
#4EDAA3
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4F862C

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

Preview Lab → · Contrast checker → · Palette generator →

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