#4F882A#4F882A

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

Color values

HEX#4F882A
RGBrgb(79, 136, 42)
HSLhsl(96, 53%, 35%)
HSVhsv(96, 69%, 53%)
CMYKcmyk(41.9%, 0%, 69.1%, 46.7%)
CIE-LABlab(51.19, -35.73, 42.89)
CIE-LCHlch(51.19, 55.82, 129.79°)
OKLaboklab(56.73% -0.0994 0.098)
OKLCHoklch(56.73% 0.14 135.4)
XYZxyz(12.4462, 19.4371, 5.2860)
Luminance0.1944 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F882A #632A88
analogous
#7E882A #4F882A #2A8834
triadic
#4F882A #2A4F88 #882A4F
tetradic
#4F882A #2A7E88 #632A88 #88342A
square
#4F882A #2A7E88 #632A88 #88342A
split-complementary
#4F882A #342A88 #882A7E
monochromatic
#192A0D #34591C #4F882A #6AB738 #8ACE5F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F882A#FFFFFF#000000##000000
##4F882A1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f882a;
/* rgb */ color: rgb(79, 136, 42);
/* oklch */ color: oklch(56.7% 0.140 135.4);
Tailwind
colors: {
  custom: {
    50: '#85ab69',
    500: '#4f882a',
    950: '#000000',
  },
}
SCSS
$custom: #4f882a;
$custom-light: #85ab69;
$custom-dark: #000000;
JSON
{
  "hex": "#4f882a",
  "rgb": {
    "r": 79,
    "g": 136,
    "b": 42
  },
  "hsl": {
    "h": 96.383,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56725,
    "c": 0.13962,
    "h": 135.4
  },
  "luminance": 0.19438
}

Semantic roles & 50–950 ramp

primary
#4F882A
secondary
#905BB3
accent
#4CDCA3
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4F882A

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

Preview Lab → · Contrast checker → · Palette generator →

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