#4D862F#4D862F

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

Color values

HEX#4D862F
RGBrgb(77, 134, 47)
HSLhsl(99, 48%, 35%)
HSVhsv(99, 65%, 53%)
CMYKcmyk(42.5%, 0%, 64.9%, 47.5%)
CIE-LABlab(50.49, -35.08, 39.88)
CIE-LCHlch(50.49, 53.12, 131.34°)
OKLaboklab(56.14% -0.0971 0.0923)
OKLCHoklch(56.14% 0.134 136.5)
XYZxyz(12.0984, 18.8325, 5.6863)
Luminance0.1883 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D862F #682F86
analogous
#78862F #4D862F #2F863C
triadic
#4D862F #2F4D86 #862F4D
tetradic
#4D862F #2F7886 #682F86 #863C2F
square
#4D862F #2F7886 #682F86 #863C2F
split-complementary
#4D862F #3C2F86 #862F78
monochromatic
#192B0F #33591F #4D862F #67B33F #88C966

Accessibility & contrast

On white

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

On black

4.77
#4D862F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D862F
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D862F#FFFFFF#000000##000000
##4D862F1.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B25
Deuteranopia (green-blind)
#837636
Tritanopia (blue-blind)
#4B8174
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4d862f;
/* rgb */ color: rgb(77, 134, 47);
/* oklch */ color: oklch(56.1% 0.134 136.5);
Tailwind
colors: {
  custom: {
    50: '#83aa6b',
    500: '#4d862f',
    950: '#000000',
  },
}
SCSS
$custom: #4d862f;
$custom-light: #83aa6b;
$custom-dark: #000000;
JSON
{
  "hex": "#4d862f",
  "rgb": {
    "r": 77,
    "g": 134,
    "b": 47
  },
  "hsl": {
    "h": 99.31,
    "s": 48.066,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56136,
    "c": 0.13402,
    "h": 136.5
  },
  "luminance": 0.18833
}

Semantic roles & 50–950 ramp

primary
#4D862F
secondary
#9560B0
accent
#50D8A9
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4D862F

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

Preview Lab → · Contrast checker → · Palette generator →

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