#4F7221#4F7221

#4F7221 is a mid, moderate yellow-green. Relative luminance 0.138; OKLCH L 50.8% C 0.116 H 129.9°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#4F7221
RGBrgb(79, 114, 33)
HSLhsl(86, 55%, 29%)
HSVhsv(86, 71%, 45%)
CMYKcmyk(30.7%, 0%, 71.1%, 55.3%)
CIE-LABlab(43.95, -26.25, 39.16)
CIE-LCHlch(43.95, 47.15, 123.83°)
OKLaboklab(50.8% -0.0743 0.0889)
OKLCHoklch(50.8% 0.116 129.9)
XYZxyz(9.5162, 13.8064, 3.6021)
Luminance0.1381 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7221 #442172
analogous
#726D21 #4F7221 #277221
triadic
#4F7221 #214F72 #72214F
tetradic
#4F7221 #21726D #442172 #722127
square
#4F7221 #21726D #442172 #722127
split-complementary
#4F7221 #212772 #6D2172
monochromatic
#101807 #2E4313 #4F7221 #70A12F #90C944

Accessibility & contrast

On white

5.58
#4F7221 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#4F7221 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7221
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7221#FFFFFF#000000##FFFFFF
##4F72211.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776A15
Deuteranopia (green-blind)
#736728
Tritanopia (blue-blind)
#516D62
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4f7221;
/* rgb */ color: rgb(79, 114, 33);
/* oklch */ color: oklch(50.8% 0.116 129.9);
Tailwind
colors: {
  custom: {
    50: '#839a61',
    500: '#4f7221',
    950: '#000000',
  },
}
SCSS
$custom: #4f7221;
$custom-light: #839a61;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7221",
  "rgb": {
    "r": 79,
    "g": 114,
    "b": 33
  },
  "hsl": {
    "h": 85.926,
    "s": 55.102,
    "l": 28.824
  },
  "oklch": {
    "l": 0.50795,
    "c": 0.11589,
    "h": 129.9
  },
  "luminance": 0.13807
}

Semantic roles & 50–950 ramp

primary
#4F7221
secondary
#7149A5
accent
#49DE8A
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4F7221

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

Preview Lab → · Contrast checker → · Palette generator →

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