#4D861B#4D861B

#4D861B 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#4D861B
RGBrgb(77, 134, 27)
HSLhsl(92, 66%, 32%)
HSVhsv(92, 80%, 53%)
CMYKcmyk(42.5%, 0%, 79.9%, 47.5%)
CIE-LABlab(50.34, -36.64, 47.75)
CIE-LCHlch(50.34, 60.19, 127.50°)
OKLaboklab(55.97% -0.1029 0.106)
OKLCHoklch(55.97% 0.148 134.1)
XYZxyz(11.7833, 18.7065, 4.0265)
Luminance0.1871 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D861B #541B86
analogous
#83861B #4D861B #1B861F
triadic
#4D861B #1B4D86 #861B4D
tetradic
#4D861B #1B8386 #541B86 #861F1B
square
#4D861B #1B8386 #541B86 #861F1B
split-complementary
#4D861B #1F1B86 #861B83
monochromatic
#122006 #305311 #4D861B #6AB925 #89D942

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D861B#FFFFFF#000000##000000
##4D861B1.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)
#847627
Tritanopia (blue-blind)
#4C8172
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4d861b;
/* rgb */ color: rgb(77, 134, 27);
/* oklch */ color: oklch(56.0% 0.148 134.1);
Tailwind
colors: {
  custom: {
    50: '#84aa61',
    500: '#4d861b',
    950: '#000000',
  },
}
SCSS
$custom: #4d861b;
$custom-light: #84aa61;
$custom-dark: #000000;
JSON
{
  "hex": "#4d861b",
  "rgb": {
    "r": 77,
    "g": 134,
    "b": 27
  },
  "hsl": {
    "h": 91.963,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55967,
    "c": 0.14771,
    "h": 134.1
  },
  "luminance": 0.18707
}

Semantic roles & 50–950 ramp

primary
#4D861B
secondary
#8244B9
accent
#3EE999
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #4D861B

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

Preview Lab → · Contrast checker → · Palette generator →

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