#4D862E#4D862E

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

Color values

HEX#4D862E
RGBrgb(77, 134, 46)
HSLhsl(99, 49%, 35%)
HSVhsv(99, 66%, 53%)
CMYKcmyk(42.5%, 0%, 65.7%, 47.5%)
CIE-LABlab(50.48, -35.18, 40.33)
CIE-LCHlch(50.48, 53.52, 131.10°)
OKLaboklab(56.13% -0.0975 0.0932)
OKLCHoklch(56.13% 0.135 136.3)
XYZxyz(12.0785, 18.8246, 5.5813)
Luminance0.1883 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D862E #672E86
analogous
#79862E #4D862E #2E863B
triadic
#4D862E #2E4D86 #862E4D
tetradic
#4D862E #2E7986 #672E86 #863B2E
square
#4D862E #2E7986 #672E86 #863B2E
split-complementary
#4D862E #3B2E86 #862E79
monochromatic
#192B0F #33581E #4D862E #67B43E #88CA64

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D862E#FFFFFF#000000##000000
##4D862E1.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)
#8B7B23
Deuteranopia (green-blind)
#837635
Tritanopia (blue-blind)
#4B8174
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4d862e;
/* rgb */ color: rgb(77, 134, 46);
/* oklch */ color: oklch(56.1% 0.135 136.3);
Tailwind
colors: {
  custom: {
    50: '#83aa6b',
    500: '#4d862e',
    950: '#000000',
  },
}
SCSS
$custom: #4d862e;
$custom-light: #83aa6b;
$custom-dark: #000000;
JSON
{
  "hex": "#4d862e",
  "rgb": {
    "r": 77,
    "g": 134,
    "b": 46
  },
  "hsl": {
    "h": 98.864,
    "s": 48.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56126,
    "c": 0.13484,
    "h": 136.3
  },
  "luminance": 0.18825
}

Semantic roles & 50–950 ramp

primary
#4D862E
secondary
#945FB1
accent
#4FD8A8
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4D862E

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

Preview Lab → · Contrast checker → · Palette generator →

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