#4D882C#4D882C

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

Color values

HEX#4D882C
RGBrgb(77, 136, 44)
HSLhsl(98, 51%, 35%)
HSVhsv(98, 68%, 53%)
CMYKcmyk(43.4%, 0%, 67.6%, 46.7%)
CIE-LABlab(51.11, -36.25, 41.91)
CIE-LCHlch(51.11, 55.41, 130.86°)
OKLaboklab(56.64% -0.1005 0.0963)
OKLCHoklch(56.64% 0.139 136.3)
XYZxyz(12.3190, 19.3672, 5.4715)
Luminance0.1937 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D882C #672C88
analogous
#7B882C #4D882C #2C8839
triadic
#4D882C #2C4D88 #882C4D
tetradic
#4D882C #2C7B88 #672C88 #88392C
square
#4D882C #2C7B88 #672C88 #88392C
split-complementary
#4D882C #392C88 #882C7B
monochromatic
#192C0E #335A1D #4D882C #67B63B #88CC62

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D882C#FFFFFF#000000##000000
##4D882C1.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)
#8D7D20
Deuteranopia (green-blind)
#857834
Tritanopia (blue-blind)
#4B8375
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4d882c;
/* rgb */ color: rgb(77, 136, 44);
/* oklch */ color: oklch(56.6% 0.139 136.3);
Tailwind
colors: {
  custom: {
    50: '#84ab6a',
    500: '#4d882c',
    950: '#000000',
  },
}
SCSS
$custom: #4d882c;
$custom-light: #84ab6a;
$custom-dark: #000000;
JSON
{
  "hex": "#4d882c",
  "rgb": {
    "r": 77,
    "g": 136,
    "b": 44
  },
  "hsl": {
    "h": 98.478,
    "s": 51.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56638,
    "c": 0.13919,
    "h": 136.3
  },
  "luminance": 0.19368
}

Semantic roles & 50–950 ramp

primary
#4D882C
secondary
#945DB3
accent
#4DDBA8
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4D882C

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

Preview Lab → · Contrast checker → · Palette generator →

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