#4F7322#4F7322

#4F7322 is a mid, moderate yellow-green. Relative luminance 0.140; OKLCH L 51.1% C 0.117 H 130.3°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#4F7322
RGBrgb(79, 115, 34)
HSLhsl(87, 54%, 29%)
HSVhsv(87, 70%, 45%)
CMYKcmyk(31.3%, 0%, 70.4%, 54.9%)
CIE-LABlab(44.29, -26.66, 39.08)
CIE-LCHlch(44.29, 47.31, 124.30°)
OKLaboklab(51.07% -0.0754 0.0889)
OKLCHoklch(51.07% 0.117 130.3)
XYZxyz(9.6438, 14.0389, 3.7147)
Luminance0.1404 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7322 #462273
analogous
#736F22 #4F7322 #277322
triadic
#4F7322 #224F73 #73224F
tetradic
#4F7322 #22736F #462273 #732227
square
#4F7322 #22736F #462273 #732227
split-complementary
#4F7322 #222773 #6F2273
monochromatic
#101807 #2F4414 #4F7322 #6FA230 #8FC947

Accessibility & contrast

On white

5.51
#4F7322 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#4F7322 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7322
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7322#FFFFFF#000000##FFFFFF
##4F73221.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A16
Deuteranopia (green-blind)
#736829
Tritanopia (blue-blind)
#516E63
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4f7322;
/* rgb */ color: rgb(79, 115, 34);
/* oklch */ color: oklch(51.1% 0.117 130.3);
Tailwind
colors: {
  custom: {
    50: '#839b62',
    500: '#4f7322',
    950: '#000000',
  },
}
SCSS
$custom: #4f7322;
$custom-light: #839b62;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7322",
  "rgb": {
    "r": 79,
    "g": 115,
    "b": 34
  },
  "hsl": {
    "h": 86.667,
    "s": 54.362,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51069,
    "c": 0.11653,
    "h": 130.3
  },
  "luminance": 0.14039
}

Semantic roles & 50–950 ramp

primary
#4F7322
secondary
#734BA6
accent
#4ADE8C
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E05
muted
#7C7E7A

Preview Lab

Preview with #4F7322

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

Preview Lab → · Contrast checker → · Palette generator →

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