#4F7622#4F7622

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

Color values

HEX#4F7622
RGBrgb(79, 118, 34)
HSLhsl(88, 55%, 30%)
HSVhsv(88, 71%, 46%)
CMYKcmyk(33.1%, 0%, 71.2%, 53.7%)
CIE-LABlab(45.27, -28.11, 40.10)
CIE-LCHlch(45.27, 48.97, 125.03°)
OKLaboklab(51.87% -0.0793 0.091)
OKLCHoklch(51.87% 0.121 131.1)
XYZxyz(9.9915, 14.7343, 3.8306)
Luminance0.1474 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7622 #492276
analogous
#767322 #4F7622 #257622
triadic
#4F7622 #224F76 #76224F
tetradic
#4F7622 #227673 #492276 #762225
square
#4F7622 #227673 #492276 #762225
split-complementary
#4F7622 #222576 #732276
monochromatic
#101807 #2F4614 #4F7622 #6FA630 #8ECA48

Accessibility & contrast

On white

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

On black

3.95
#4F7622 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4F7622#FFFFFF#000000##FFFFFF
##4F76221.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f7622;
/* rgb */ color: rgb(79, 118, 34);
/* oklch */ color: oklch(51.9% 0.121 131.1);
Tailwind
colors: {
  custom: {
    50: '#849d62',
    500: '#4f7622',
    950: '#000000',
  },
}
SCSS
$custom: #4f7622;
$custom-light: #849d62;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7622",
  "rgb": {
    "r": 79,
    "g": 118,
    "b": 34
  },
  "hsl": {
    "h": 87.857,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51866,
    "c": 0.12075,
    "h": 131.1
  },
  "luminance": 0.14735
}

Semantic roles & 50–950 ramp

primary
#4F7622
secondary
#774BA9
accent
#49DF8F
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E05
muted
#7C7E7A

Preview Lab

Preview with #4F7622

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

Preview Lab → · Contrast checker → · Palette generator →

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