#4F882B#4F882B

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

Color values

HEX#4F882B
RGBrgb(79, 136, 43)
HSLhsl(97, 52%, 35%)
HSVhsv(97, 68%, 53%)
CMYKcmyk(41.9%, 0%, 68.4%, 46.7%)
CIE-LABlab(51.20, -35.64, 42.47)
CIE-LCHlch(51.20, 55.44, 130.00°)
OKLaboklab(56.73% -0.0991 0.0973)
OKLCHoklch(56.73% 0.139 135.5)
XYZxyz(12.4644, 19.4443, 5.3814)
Luminance0.1945 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F882B #642B88
analogous
#7D882B #4F882B #2B8835
triadic
#4F882B #2B4F88 #882B4F
tetradic
#4F882B #2B7D88 #642B88 #88352B
square
#4F882B #2B7D88 #642B88 #88352B
split-complementary
#4F882B #352B88 #882B7D
monochromatic
#192B0E #345A1C #4F882B #6AB63A #8ACD61

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F882B#FFFFFF#000000##000000
##4F882B1.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)
#8D7D1E
Deuteranopia (green-blind)
#857833
Tritanopia (blue-blind)
#4D8375
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4f882b;
/* rgb */ color: rgb(79, 136, 43);
/* oklch */ color: oklch(56.7% 0.139 135.5);
Tailwind
colors: {
  custom: {
    50: '#85ab69',
    500: '#4f882b',
    950: '#000000',
  },
}
SCSS
$custom: #4f882b;
$custom-light: #85ab69;
$custom-dark: #000000;
JSON
{
  "hex": "#4f882b",
  "rgb": {
    "r": 79,
    "g": 136,
    "b": 43
  },
  "hsl": {
    "h": 96.774,
    "s": 51.955,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56734,
    "c": 0.13887,
    "h": 135.5
  },
  "luminance": 0.19445
}

Semantic roles & 50–950 ramp

primary
#4F882B
secondary
#915CB3
accent
#4CDBA4
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4F882B

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

Preview Lab → · Contrast checker → · Palette generator →

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