#4F6722#4F6722

#4F6722 is a mid, moderate yellow-green. Relative luminance 0.115; OKLCH L 47.9% C 0.099 H 126.2°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#4F6722
RGBrgb(79, 103, 34)
HSLhsl(81, 50%, 27%)
HSVhsv(81, 67%, 40%)
CMYKcmyk(23.3%, 0%, 67%, 59.6%)
CIE-LABlab(40.37, -20.60, 34.92)
CIE-LCHlch(40.37, 40.54, 120.54°)
OKLaboklab(47.9% -0.0587 0.0801)
OKLCHoklch(47.9% 0.099 126.2)
XYZxyz(8.3634, 11.4781, 3.2879)
Luminance0.1148 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6722 #3A2267
analogous
#675D22 #4F6722 #2C6722
triadic
#4F6722 #224F67 #67224F
tetradic
#4F6722 #22675D #3A2267 #67222C
square
#4F6722 #22675D #3A2267 #67222C
split-complementary
#4F6722 #222C67 #5D2267
monochromatic
#121708 #2C3913 #4F6722 #729531 #95C143

Accessibility & contrast

On white

6.37
#4F6722 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#4F6722 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F6722
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6722#FFFFFF#000000##FFFFFF
##4F67221.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6019
Deuteranopia (green-blind)
#695F27
Tritanopia (blue-blind)
#526259
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4f6722;
/* rgb */ color: rgb(79, 103, 34);
/* oklch */ color: oklch(47.9% 0.099 126.2);
Tailwind
colors: {
  custom: {
    50: '#829261',
    500: '#4f6722',
    950: '#000000',
  },
}
SCSS
$custom: #4f6722;
$custom-light: #829261;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6722",
  "rgb": {
    "r": 79,
    "g": 103,
    "b": 34
  },
  "hsl": {
    "h": 80.87,
    "s": 50.365,
    "l": 26.863
  },
  "oklch": {
    "l": 0.47895,
    "c": 0.09933,
    "h": 126.2
  },
  "luminance": 0.11478
}

Semantic roles & 50–950 ramp

primary
#4F6722
secondary
#664A9B
accent
#4EDA7F
background
#F8F9F5
surface
#EFF1EA
border
#CACBC6
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #4F6722

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

Preview Lab → · Contrast checker → · Palette generator →

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