#4F7920#4F7920

#4F7920 is a mid, vivid yellow-green. Relative luminance 0.154; OKLCH L 52.6% C 0.126 H 131.6°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#4F7920
RGBrgb(79, 121, 32)
HSLhsl(88, 58%, 30%)
HSVhsv(88, 74%, 47%)
CMYKcmyk(34.7%, 0%, 73.6%, 52.5%)
CIE-LABlab(46.23, -29.69, 41.92)
CIE-LCHlch(46.23, 51.37, 125.31°)
OKLaboklab(52.65% -0.0838 0.0945)
OKLCHoklch(52.65% 0.126 131.6)
XYZxyz(10.3224, 15.4409, 3.8027)
Luminance0.1544 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7920 #4A2079
analogous
#797720 #4F7920 #227920
triadic
#4F7920 #204F79 #79204F
tetradic
#4F7920 #207977 #4A2079 #792022
square
#4F7920 #207977 #4A2079 #792022
split-complementary
#4F7920 #202279 #772079
monochromatic
#101806 #2F4913 #4F7920 #6FA92D #8ECE45

Accessibility & contrast

On white

5.14
#4F7920 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#4F7920 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7920
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7920#FFFFFF#000000##FFFFFF
##4F79201.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7011
Deuteranopia (green-blind)
#796C28
Tritanopia (blue-blind)
#507467
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4f7920;
/* rgb */ color: rgb(79, 121, 32);
/* oklch */ color: oklch(52.6% 0.126 131.6);
Tailwind
colors: {
  custom: {
    50: '#84a061',
    500: '#4f7920',
    950: '#000000',
  },
}
SCSS
$custom: #4f7920;
$custom-light: #84a061;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7920",
  "rgb": {
    "r": 79,
    "g": 121,
    "b": 32
  },
  "hsl": {
    "h": 88.315,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.52647,
    "c": 0.12634,
    "h": 131.6
  },
  "luminance": 0.15441
}

Semantic roles & 50–950 ramp

primary
#4F7920
secondary
#7849AC
accent
#46E190
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E05
muted
#7C7E7A

Preview Lab

Preview with #4F7920

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

Preview Lab → · Contrast checker → · Palette generator →

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