#4D882F#4D882F

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

Color values

HEX#4D882F
RGBrgb(77, 136, 47)
HSLhsl(100, 49%, 36%)
HSVhsv(100, 65%, 53%)
CMYKcmyk(43.4%, 0%, 65.4%, 46.7%)
CIE-LABlab(51.14, -35.97, 40.60)
CIE-LCHlch(51.14, 54.24, 131.54°)
OKLaboklab(56.67% -0.0995 0.0939)
OKLCHoklch(56.67% 0.137 136.7)
XYZxyz(12.3775, 19.3906, 5.7793)
Luminance0.1939 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D882F #6A2F88
analogous
#79882F #4D882F #2F883D
triadic
#4D882F #2F4D88 #882F4D
tetradic
#4D882F #2F7988 #6A2F88 #883D2F
square
#4D882F #2F7988 #6A2F88 #883D2F
split-complementary
#4D882F #3D2F88 #882F79
monochromatic
#192D10 #335B1F #4D882F #67B53F #88CA67

Accessibility & contrast

On white

4.30
#4D882F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D882F#FFFFFF#000000##000000
##4D882F1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D24
Deuteranopia (green-blind)
#857836
Tritanopia (blue-blind)
#4A8375
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4d882f;
/* rgb */ color: rgb(77, 136, 47);
/* oklch */ color: oklch(56.7% 0.137 136.7);
Tailwind
colors: {
  custom: {
    50: '#84ab6c',
    500: '#4d882f',
    950: '#000000',
  },
}
SCSS
$custom: #4d882f;
$custom-light: #84ab6c;
$custom-dark: #000000;
JSON
{
  "hex": "#4d882f",
  "rgb": {
    "r": 77,
    "g": 136,
    "b": 47
  },
  "hsl": {
    "h": 99.775,
    "s": 48.634,
    "l": 35.882
  },
  "oklch": {
    "l": 0.56669,
    "c": 0.13681,
    "h": 136.7
  },
  "luminance": 0.19391
}

Semantic roles & 50–950 ramp

primary
#4D882F
secondary
#9661B1
accent
#50D8AA
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4D882F

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

Preview Lab → · Contrast checker → · Palette generator →

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