#4F7620#4F7620

#4F7620 is a mid, vivid yellow-green. Relative luminance 0.147; OKLCH L 51.8% C 0.122 H 130.8°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#4F7620
RGBrgb(79, 118, 32)
HSLhsl(87, 57%, 29%)
HSVhsv(87, 73%, 46%)
CMYKcmyk(33.1%, 0%, 72.9%, 53.7%)
CIE-LABlab(45.25, -28.26, 40.93)
CIE-LCHlch(45.25, 49.74, 124.63°)
OKLaboklab(51.85% -0.0799 0.0925)
OKLCHoklch(51.85% 0.122 130.8)
XYZxyz(9.9635, 14.7231, 3.6831)
Luminance0.1472 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7620 #472076
analogous
#767220 #4F7620 #247620
triadic
#4F7620 #204F76 #76204F
tetradic
#4F7620 #207672 #472076 #762024
square
#4F7620 #207672 #472076 #762024
split-complementary
#4F7620 #202476 #722076
monochromatic
#101807 #2F4613 #4F7620 #6FA62D #8FCC44

Accessibility & contrast

On white

5.32
#4F7620 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#4F7620 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7620
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7620#FFFFFF#000000##FFFFFF
##4F76201.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D12
Deuteranopia (green-blind)
#766A28
Tritanopia (blue-blind)
#517165
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4f7620;
/* rgb */ color: rgb(79, 118, 32);
/* oklch */ color: oklch(51.8% 0.122 130.8);
Tailwind
colors: {
  custom: {
    50: '#849d61',
    500: '#4f7620',
    950: '#000000',
  },
}
SCSS
$custom: #4f7620;
$custom-light: #849d61;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7620",
  "rgb": {
    "r": 79,
    "g": 118,
    "b": 32
  },
  "hsl": {
    "h": 87.209,
    "s": 57.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51849,
    "c": 0.12221,
    "h": 130.8
  },
  "luminance": 0.14723
}

Semantic roles & 50–950 ramp

primary
#4F7620
secondary
#7448A9
accent
#47E18D
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4F7620

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

Preview Lab → · Contrast checker → · Palette generator →

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