#4F7720#4F7720

#4F7720 is a mid, vivid yellow-green. Relative luminance 0.150; OKLCH L 52.1% C 0.124 H 131.1°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#4F7720
RGBrgb(79, 119, 32)
HSLhsl(88, 58%, 30%)
HSVhsv(88, 73%, 47%)
CMYKcmyk(33.6%, 0%, 73.1%, 53.3%)
CIE-LABlab(45.58, -28.74, 41.26)
CIE-LCHlch(45.58, 50.28, 124.86°)
OKLaboklab(52.12% -0.0812 0.0932)
OKLCHoklch(52.12% 0.124 131.1)
XYZxyz(10.0819, 14.9599, 3.7226)
Luminance0.1496 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7720 #482077
analogous
#777420 #4F7720 #247720
triadic
#4F7720 #204F77 #77204F
tetradic
#4F7720 #207774 #482077 #772024
square
#4F7720 #207774 #482077 #772024
split-complementary
#4F7720 #202477 #742077
monochromatic
#101806 #2F4713 #4F7720 #6FA72D #8ECD45

Accessibility & contrast

On white

5.26
#4F7720 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#4F7720 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7720
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7720#FFFFFF#000000##FFFFFF
##4F77201.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E12
Deuteranopia (green-blind)
#776B28
Tritanopia (blue-blind)
#517266
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4f7720;
/* rgb */ color: rgb(79, 119, 32);
/* oklch */ color: oklch(52.1% 0.124 131.1);
Tailwind
colors: {
  custom: {
    50: '#849e61',
    500: '#4f7720',
    950: '#000000',
  },
}
SCSS
$custom: #4f7720;
$custom-light: #849e61;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7720",
  "rgb": {
    "r": 79,
    "g": 119,
    "b": 32
  },
  "hsl": {
    "h": 87.586,
    "s": 57.616,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52115,
    "c": 0.12359,
    "h": 131.1
  },
  "luminance": 0.1496
}

Semantic roles & 50–950 ramp

primary
#4F7720
secondary
#7548AA
accent
#47E18E
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4F7720

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

Preview Lab → · Contrast checker → · Palette generator →

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