#4D882D#4D882D

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

Color values

HEX#4D882D
RGBrgb(77, 136, 45)
HSLhsl(99, 50%, 35%)
HSVhsv(99, 67%, 53%)
CMYKcmyk(43.4%, 0%, 66.9%, 46.7%)
CIE-LABlab(51.12, -36.16, 41.48)
CIE-LCHlch(51.12, 55.02, 131.08°)
OKLaboklab(56.65% -0.1002 0.0955)
OKLCHoklch(56.65% 0.138 136.4)
XYZxyz(12.3380, 19.3749, 5.5717)
Luminance0.1938 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D882D #682D88
analogous
#7A882D #4D882D #2D883A
triadic
#4D882D #2D4D88 #882D4D
tetradic
#4D882D #2D7A88 #682D88 #883A2D
square
#4D882D #2D7A88 #682D88 #883A2D
split-complementary
#4D882D #3A2D88 #882D7A
monochromatic
#192C0F #335A1E #4D882D #67B63C #88CC64

Accessibility & contrast

On white

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

On black

4.88
#4D882D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D882D
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D882D#FFFFFF#000000##000000
##4D882D1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d882d;
/* rgb */ color: rgb(77, 136, 45);
/* oklch */ color: oklch(56.6% 0.138 136.4);
Tailwind
colors: {
  custom: {
    50: '#84ab6a',
    500: '#4d882d',
    950: '#000000',
  },
}
SCSS
$custom: #4d882d;
$custom-light: #84ab6a;
$custom-dark: #000000;
JSON
{
  "hex": "#4d882d",
  "rgb": {
    "r": 77,
    "g": 136,
    "b": 45
  },
  "hsl": {
    "h": 98.901,
    "s": 50.276,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56648,
    "c": 0.13841,
    "h": 136.4
  },
  "luminance": 0.19376
}

Semantic roles & 50–950 ramp

primary
#4D882D
secondary
#955FB2
accent
#4EDAA9
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4D882D

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

Preview Lab → · Contrast checker → · Palette generator →

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