#4D861A#4D861A

#4D861A is a mid, vivid yellow-green. Relative luminance 0.187; OKLCH L 56.0% C 0.148 H 134.1°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#4D861A
RGBrgb(77, 134, 26)
HSLhsl(92, 68%, 31%)
HSVhsv(92, 81%, 53%)
CMYKcmyk(42.5%, 0%, 80.6%, 47.5%)
CIE-LABlab(50.34, -36.70, 48.07)
CIE-LCHlch(50.34, 60.48, 127.36°)
OKLaboklab(55.96% -0.1031 0.1065)
OKLCHoklch(55.96% 0.148 134.1)
XYZxyz(11.7719, 18.7019, 3.9666)
Luminance0.1870 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D861A #531A86
analogous
#83861A #4D861A #1A861D
triadic
#4D861A #1A4D86 #861A4D
tetradic
#4D861A #1A8386 #531A86 #861D1A
square
#4D861A #1A8386 #531A86 #861D1A
split-complementary
#4D861A #1D1A86 #861A83
monochromatic
#121F06 #305310 #4D861A #6AB924 #89DA40

Accessibility & contrast

On white

4.43
#4D861A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#4D861A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D861A
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D861A#FFFFFF#000000##000000
##4D861A1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B00
Deuteranopia (green-blind)
#847626
Tritanopia (blue-blind)
#4C8072
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4d861a;
/* rgb */ color: rgb(77, 134, 26);
/* oklch */ color: oklch(56.0% 0.148 134.1);
Tailwind
colors: {
  custom: {
    50: '#84aa60',
    500: '#4d861a',
    950: '#000000',
  },
}
SCSS
$custom: #4d861a;
$custom-light: #84aa60;
$custom-dark: #000000;
JSON
{
  "hex": "#4d861a",
  "rgb": {
    "r": 77,
    "g": 134,
    "b": 26
  },
  "hsl": {
    "h": 91.667,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55961,
    "c": 0.14824,
    "h": 134.1
  },
  "luminance": 0.18703
}

Semantic roles & 50–950 ramp

primary
#4D861A
secondary
#8142B9
accent
#3DEA99
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #4D861A

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

Preview Lab → · Contrast checker → · Palette generator →

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