#4D882B#4D882B

#4D882B is a mid, vivid yellow-green. Relative luminance 0.194; OKLCH L 56.6% C 0.140 H 136.1°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#4D882B
RGBrgb(77, 136, 43)
HSLhsl(98, 52%, 35%)
HSVhsv(98, 68%, 53%)
CMYKcmyk(43.4%, 0%, 68.4%, 46.7%)
CIE-LABlab(51.11, -36.34, 42.34)
CIE-LCHlch(51.11, 55.79, 130.64°)
OKLaboklab(56.63% -0.1009 0.097)
OKLCHoklch(56.63% 0.14 136.1)
XYZxyz(12.3005, 19.3598, 5.3737)
Luminance0.1936 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D882B #662B88
analogous
#7B882B #4D882B #2B8838
triadic
#4D882B #2B4D88 #882B4D
tetradic
#4D882B #2B7B88 #662B88 #88382B
square
#4D882B #2B7B88 #662B88 #88382B
split-complementary
#4D882B #382B88 #882B7B
monochromatic
#182B0E #335A1C #4D882B #67B63A #88CD61

Accessibility & contrast

On white

4.31
#4D882B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#4D882B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D882B
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D882B#FFFFFF#000000##000000
##4D882B1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D1E
Deuteranopia (green-blind)
#857833
Tritanopia (blue-blind)
#4B8375
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4d882b;
/* rgb */ color: rgb(77, 136, 43);
/* oklch */ color: oklch(56.6% 0.140 136.1);
Tailwind
colors: {
  custom: {
    50: '#84ab69',
    500: '#4d882b',
    950: '#000000',
  },
}
SCSS
$custom: #4d882b;
$custom-light: #84ab69;
$custom-dark: #000000;
JSON
{
  "hex": "#4d882b",
  "rgb": {
    "r": 77,
    "g": 136,
    "b": 43
  },
  "hsl": {
    "h": 98.065,
    "s": 51.955,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56628,
    "c": 0.13996,
    "h": 136.1
  },
  "luminance": 0.19361
}

Semantic roles & 50–950 ramp

primary
#4D882B
secondary
#935CB3
accent
#4CDBA7
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4D882B

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

Preview Lab → · Contrast checker → · Palette generator →

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