#4F862A#4F862A

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

Color values

HEX#4F862A
RGBrgb(79, 134, 42)
HSLhsl(96, 52%, 35%)
HSVhsv(96, 69%, 53%)
CMYKcmyk(41%, 0%, 68.7%, 47.5%)
CIE-LABlab(50.55, -34.84, 42.20)
CIE-LCHlch(50.55, 54.73, 129.54°)
OKLaboklab(56.19% -0.097 0.0966)
OKLCHoklch(56.19% 0.137 135.1)
XYZxyz(12.1672, 18.8790, 5.1929)
Luminance0.1888 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F862A #612A86
analogous
#7D862A #4F862A #2A8633
triadic
#4F862A #2A4F86 #862A4F
tetradic
#4F862A #2A7D86 #612A86 #86332A
square
#4F862A #2A7D86 #612A86 #86332A
split-complementary
#4F862A #332A86 #862A7D
monochromatic
#18290D #34571B #4F862A #6AB539 #8ACD5E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F862A#FFFFFF#000000##000000
##4F862A1.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)
#8B7B1D
Deuteranopia (green-blind)
#837732
Tritanopia (blue-blind)
#4E8173
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4f862a;
/* rgb */ color: rgb(79, 134, 42);
/* oklch */ color: oklch(56.2% 0.137 135.1);
Tailwind
colors: {
  custom: {
    50: '#85a968',
    500: '#4f862a',
    950: '#000000',
  },
}
SCSS
$custom: #4f862a;
$custom-light: #85a968;
$custom-dark: #000000;
JSON
{
  "hex": "#4f862a",
  "rgb": {
    "r": 79,
    "g": 134,
    "b": 42
  },
  "hsl": {
    "h": 95.87,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56194,
    "c": 0.13689,
    "h": 135.1
  },
  "luminance": 0.1888
}

Semantic roles & 50–950 ramp

primary
#4F862A
secondary
#8F5AB2
accent
#4CDCA2
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4F862A

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

Preview Lab → · Contrast checker → · Palette generator →

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