#4F882F#4F882F

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

Color values

HEX#4F882F
RGBrgb(79, 136, 47)
HSLhsl(98, 49%, 36%)
HSVhsv(98, 65%, 53%)
CMYKcmyk(41.9%, 0%, 65.4%, 46.7%)
CIE-LABlab(51.24, -35.27, 40.73)
CIE-LCHlch(51.24, 53.88, 130.89°)
OKLaboklab(56.78% -0.0978 0.0941)
OKLCHoklch(56.78% 0.136 136.1)
XYZxyz(12.5414, 19.4751, 5.7870)
Luminance0.1948 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F882F #682F88
analogous
#7B882F #4F882F #2F883B
triadic
#4F882F #2F4F88 #882F4F
tetradic
#4F882F #2F7B88 #682F88 #883B2F
square
#4F882F #2F7B88 #682F88 #883B2F
split-complementary
#4F882F #3B2F88 #882F7B
monochromatic
#1A2D10 #355B1F #4F882F #69B53F #8BCA67

Accessibility & contrast

On white

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

On black

4.90
#4F882F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F882F
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F882F#FFFFFF#000000##000000
##4F882F1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f882f;
/* rgb */ color: rgb(79, 136, 47);
/* oklch */ color: oklch(56.8% 0.136 136.1);
Tailwind
colors: {
  custom: {
    50: '#85ab6c',
    500: '#4f882f',
    950: '#000000',
  },
}
SCSS
$custom: #4f882f;
$custom-light: #85ab6c;
$custom-dark: #000000;
JSON
{
  "hex": "#4f882f",
  "rgb": {
    "r": 79,
    "g": 136,
    "b": 47
  },
  "hsl": {
    "h": 98.427,
    "s": 48.634,
    "l": 35.882
  },
  "oklch": {
    "l": 0.56775,
    "c": 0.13572,
    "h": 136.1
  },
  "luminance": 0.19476
}

Semantic roles & 50–950 ramp

primary
#4F882F
secondary
#9561B1
accent
#50D8A7
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4F882F

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

Preview Lab → · Contrast checker → · Palette generator →

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