#4D862D#4D862D

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

Color values

HEX#4D862D
RGBrgb(77, 134, 45)
HSLhsl(98, 50%, 35%)
HSVhsv(98, 66%, 53%)
CMYKcmyk(42.5%, 0%, 66.4%, 47.5%)
CIE-LABlab(50.47, -35.27, 40.77)
CIE-LCHlch(50.47, 53.91, 130.87°)
OKLaboklab(56.12% -0.0978 0.094)
OKLCHoklch(56.12% 0.136 136.2)
XYZxyz(12.0590, 18.8168, 5.4787)
Luminance0.1882 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D862D #662D86
analogous
#7A862D #4D862D #2D8639
triadic
#4D862D #2D4D86 #862D4D
tetradic
#4D862D #2D7A86 #662D86 #86392D
square
#4D862D #2D7A86 #662D86 #86392D
split-complementary
#4D862D #392D86 #862D7A
monochromatic
#182A0E #33581E #4D862D #67B43C #88CB63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D862D#FFFFFF#000000##000000
##4D862D1.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)
#8B7B22
Deuteranopia (green-blind)
#837634
Tritanopia (blue-blind)
#4B8174
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4d862d;
/* rgb */ color: rgb(77, 134, 45);
/* oklch */ color: oklch(56.1% 0.136 136.2);
Tailwind
colors: {
  custom: {
    50: '#83aa6a',
    500: '#4d862d',
    950: '#000000',
  },
}
SCSS
$custom: #4d862d;
$custom-light: #83aa6a;
$custom-dark: #000000;
JSON
{
  "hex": "#4d862d",
  "rgb": {
    "r": 77,
    "g": 134,
    "b": 45
  },
  "hsl": {
    "h": 98.427,
    "s": 49.721,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56115,
    "c": 0.13564,
    "h": 136.2
  },
  "luminance": 0.18817
}

Semantic roles & 50–950 ramp

primary
#4D862D
secondary
#935EB1
accent
#4FD9A7
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4D862D

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

Preview Lab → · Contrast checker → · Palette generator →

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