#4F8822#4F8822

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

Color values

HEX#4F8822
RGBrgb(79, 136, 34)
HSLhsl(94, 60%, 33%)
HSVhsv(94, 75%, 53%)
CMYKcmyk(41.9%, 0%, 75%, 46.7%)
CIE-LABlab(51.14, -36.35, 46.06)
CIE-LCHlch(51.14, 58.68, 128.28°)
OKLaboklab(56.66% -0.1017 0.1035)
OKLCHoklch(56.66% 0.145 134.5)
XYZxyz(12.3171, 19.3854, 4.6058)
Luminance0.1939 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8822 #5B2288
analogous
#828822 #4F8822 #228828
triadic
#4F8822 #224F88 #88224F
tetradic
#4F8822 #228288 #5B2288 #882822
square
#4F8822 #228288 #5B2288 #882822
split-complementary
#4F8822 #282288 #882282
monochromatic
#16260A #335716 #4F8822 #6BB92E #8BD351

Accessibility & contrast

On white

4.31
#4F8822 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F8822#FFFFFF#000000##000000
##4F88221.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D0F
Deuteranopia (green-blind)
#86782C
Tritanopia (blue-blind)
#4E8374
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4f8822;
/* rgb */ color: rgb(79, 136, 34);
/* oklch */ color: oklch(56.7% 0.145 134.5);
Tailwind
colors: {
  custom: {
    50: '#85ab64',
    500: '#4f8822',
    950: '#000000',
  },
}
SCSS
$custom: #4f8822;
$custom-light: #85ab64;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8822",
  "rgb": {
    "r": 79,
    "g": 136,
    "b": 34
  },
  "hsl": {
    "h": 93.529,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56657,
    "c": 0.14514,
    "h": 134.5
  },
  "luminance": 0.19386
}

Semantic roles & 50–950 ramp

primary
#4F8822
secondary
#894FB7
accent
#45E39D
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4F8822

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

Preview Lab → · Contrast checker → · Palette generator →

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