#4F862B#4F862B

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

Color values

HEX#4F862B
RGBrgb(79, 134, 43)
HSLhsl(96, 51%, 35%)
HSVhsv(96, 68%, 53%)
CMYKcmyk(41%, 0%, 67.9%, 47.5%)
CIE-LABlab(50.55, -34.75, 41.78)
CIE-LCHlch(50.55, 54.34, 129.76°)
OKLaboklab(56.2% -0.0967 0.0958)
OKLCHoklch(56.2% 0.136 135.3)
XYZxyz(12.1853, 18.8862, 5.2884)
Luminance0.1889 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F862B #622B86
analogous
#7C862B #4F862B #2B8635
triadic
#4F862B #2B4F86 #862B4F
tetradic
#4F862B #2B7C86 #622B86 #86352B
square
#4F862B #2B7C86 #622B86 #86352B
split-complementary
#4F862B #352B86 #862B7C
monochromatic
#18290D #34581C #4F862B #6AB43A #8ACC60

Accessibility & contrast

On white

4.40
#4F862B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F862B#FFFFFF#000000##000000
##4F862B1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f862b;
/* rgb */ color: rgb(79, 134, 43);
/* oklch */ color: oklch(56.2% 0.136 135.3);
Tailwind
colors: {
  custom: {
    50: '#85a969',
    500: '#4f862b',
    950: '#000000',
  },
}
SCSS
$custom: #4f862b;
$custom-light: #85a969;
$custom-dark: #000000;
JSON
{
  "hex": "#4f862b",
  "rgb": {
    "r": 79,
    "g": 134,
    "b": 43
  },
  "hsl": {
    "h": 96.264,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.56203,
    "c": 0.13612,
    "h": 135.3
  },
  "luminance": 0.18887
}

Semantic roles & 50–950 ramp

primary
#4F862B
secondary
#8F5BB2
accent
#4DDBA3
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4F862B

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

Preview Lab → · Contrast checker → · Palette generator →

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