#4F862E#4F862E

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

Color values

HEX#4F862E
RGBrgb(79, 134, 46)
HSLhsl(98, 49%, 35%)
HSVhsv(98, 66%, 53%)
CMYKcmyk(41%, 0%, 65.7%, 47.5%)
CIE-LABlab(50.58, -34.48, 40.47)
CIE-LCHlch(50.58, 53.16, 130.43°)
OKLaboklab(56.23% -0.0957 0.0934)
OKLCHoklch(56.23% 0.134 135.7)
XYZxyz(12.2424, 18.9091, 5.5890)
Luminance0.1891 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F862E #652E86
analogous
#7B862E #4F862E #2E8639
triadic
#4F862E #2E4F86 #862E4F
tetradic
#4F862E #2E7B86 #652E86 #86392E
square
#4F862E #2E7B86 #652E86 #86392E
split-complementary
#4F862E #392E86 #862E7B
monochromatic
#192B0F #34581E #4F862E #6AB43E #8BCA64

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F862E#FFFFFF#000000##000000
##4F862E1.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)
#8B7B23
Deuteranopia (green-blind)
#837735
Tritanopia (blue-blind)
#4D8174
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4f862e;
/* rgb */ color: rgb(79, 134, 46);
/* oklch */ color: oklch(56.2% 0.134 135.7);
Tailwind
colors: {
  custom: {
    50: '#85a96b',
    500: '#4f862e',
    950: '#000000',
  },
}
SCSS
$custom: #4f862e;
$custom-light: #85a96b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f862e",
  "rgb": {
    "r": 79,
    "g": 134,
    "b": 46
  },
  "hsl": {
    "h": 97.5,
    "s": 48.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56234,
    "c": 0.13374,
    "h": 135.7
  },
  "luminance": 0.1891
}

Semantic roles & 50–950 ramp

primary
#4F862E
secondary
#925FB1
accent
#4FD8A5
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4F862E

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

Preview Lab → · Contrast checker → · Palette generator →

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