#4F7220#4F7220

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

Color values

HEX#4F7220
RGBrgb(79, 114, 32)
HSLhsl(86, 56%, 29%)
HSVhsv(86, 72%, 45%)
CMYKcmyk(30.7%, 0%, 71.9%, 55.3%)
CIE-LABlab(43.95, -26.33, 39.59)
CIE-LCHlch(43.95, 47.54, 123.63°)
OKLaboklab(50.79% -0.0746 0.0896)
OKLCHoklch(50.79% 0.117 129.8)
XYZxyz(9.5024, 13.8009, 3.5294)
Luminance0.1380 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7220 #432072
analogous
#726C20 #4F7220 #267220
triadic
#4F7220 #204F72 #72204F
tetradic
#4F7220 #20726C #432072 #722026
square
#4F7220 #20726C #432072 #722026
split-complementary
#4F7220 #202672 #6C2072
monochromatic
#111807 #2E4213 #4F7220 #70A22D #90CA42

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F7220#FFFFFF#000000##FFFFFF
##4F72201.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)
#776A14
Deuteranopia (green-blind)
#736727
Tritanopia (blue-blind)
#516D62
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4f7220;
/* rgb */ color: rgb(79, 114, 32);
/* oklch */ color: oklch(50.8% 0.117 129.8);
Tailwind
colors: {
  custom: {
    50: '#839a61',
    500: '#4f7220',
    950: '#000000',
  },
}
SCSS
$custom: #4f7220;
$custom-light: #839a61;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7220",
  "rgb": {
    "r": 79,
    "g": 114,
    "b": 32
  },
  "hsl": {
    "h": 85.61,
    "s": 56.164,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50786,
    "c": 0.11665,
    "h": 129.8
  },
  "luminance": 0.13801
}

Semantic roles & 50–950 ramp

primary
#4F7220
secondary
#7048A6
accent
#48DF89
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4F7220

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

Preview Lab → · Contrast checker → · Palette generator →

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