#4F8221#4F8221

#4F8221 is a mid, vivid yellow-green. Relative luminance 0.177; OKLCH L 55.1% C 0.138 H 133.4°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#4F8221
RGBrgb(79, 130, 33)
HSLhsl(92, 60%, 32%)
HSVhsv(92, 75%, 51%)
CMYKcmyk(39.2%, 0%, 74.6%, 49%)
CIE-LABlab(49.18, -33.76, 44.49)
CIE-LCHlch(49.18, 55.85, 127.19°)
OKLaboklab(55.05% -0.0948 0.1001)
OKLCHoklch(55.05% 0.138 133.4)
XYZxyz(11.4814, 17.7368, 4.2571)
Luminance0.1774 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8221 #542182
analogous
#808221 #4F8221 #218223
triadic
#4F8221 #214F82 #82214F
tetradic
#4F8221 #218082 #542182 #822321
square
#4F8221 #218082 #542182 #822321
split-complementary
#4F8221 #232182 #822180
monochromatic
#142008 #315115 #4F8221 #6DB32D #8BD24C

Accessibility & contrast

On white

4.62
#4F8221 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#4F8221 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4F8221
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8221#FFFFFF#000000##FFFFFF
##4F82211.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87770F
Deuteranopia (green-blind)
#80732A
Tritanopia (blue-blind)
#4F7D6F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4f8221;
/* rgb */ color: rgb(79, 130, 33);
/* oklch */ color: oklch(55.1% 0.138 133.4);
Tailwind
colors: {
  custom: {
    50: '#85a663',
    500: '#4f8221',
    950: '#000000',
  },
}
SCSS
$custom: #4f8221;
$custom-light: #85a663;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8221",
  "rgb": {
    "r": 79,
    "g": 130,
    "b": 33
  },
  "hsl": {
    "h": 91.546,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55052,
    "c": 0.13784,
    "h": 133.4
  },
  "luminance": 0.17737
}

Semantic roles & 50–950 ramp

primary
#4F8221
secondary
#824AB4
accent
#45E398
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4F8221

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

Preview Lab → · Contrast checker → · Palette generator →

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