#4F882D#4F882D

#4F882D is a mid, vivid yellow-green. Relative luminance 0.195; OKLCH L 56.8% C 0.137 H 135.8°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#4F882D
RGBrgb(79, 136, 45)
HSLhsl(98, 50%, 35%)
HSVhsv(98, 67%, 53%)
CMYKcmyk(41.9%, 0%, 66.9%, 46.7%)
CIE-LABlab(51.22, -35.46, 41.61)
CIE-LCHlch(51.22, 54.67, 130.44°)
OKLaboklab(56.75% -0.0985 0.0957)
OKLCHoklch(56.75% 0.137 135.8)
XYZxyz(12.5020, 19.4594, 5.5794)
Luminance0.1946 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F882D #662D88
analogous
#7C882D #4F882D #2D8838
triadic
#4F882D #2D4F88 #882D4F
tetradic
#4F882D #2D7C88 #662D88 #88382D
square
#4F882D #2D7C88 #662D88 #88382D
split-complementary
#4F882D #382D88 #882D7C
monochromatic
#1A2C0F #345A1E #4F882D #6AB63C #8BCC64

Accessibility & contrast

On white

4.29
#4F882D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#4F882D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F882D
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F882D#FFFFFF#000000##000000
##4F882D1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f882d;
/* rgb */ color: rgb(79, 136, 45);
/* oklch */ color: oklch(56.8% 0.137 135.8);
Tailwind
colors: {
  custom: {
    50: '#85ab6a',
    500: '#4f882d',
    950: '#000000',
  },
}
SCSS
$custom: #4f882d;
$custom-light: #85ab6a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f882d",
  "rgb": {
    "r": 79,
    "g": 136,
    "b": 45
  },
  "hsl": {
    "h": 97.582,
    "s": 50.276,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56754,
    "c": 0.13732,
    "h": 135.8
  },
  "luminance": 0.1946
}

Semantic roles & 50–950 ramp

primary
#4F882D
secondary
#935FB2
accent
#4EDAA6
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4F882D

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

Preview Lab → · Contrast checker → · Palette generator →

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