#4F6920#4F6920

#4F6920 is a mid, moderate yellow-green. Relative luminance 0.119; OKLCH L 48.4% C 0.104 H 126.8°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#4F6920
RGBrgb(79, 105, 32)
HSLhsl(81, 53%, 27%)
HSVhsv(81, 70%, 41%)
CMYKcmyk(24.8%, 0%, 69.5%, 58.8%)
CIE-LABlab(41.01, -21.81, 36.52)
CIE-LCHlch(41.01, 42.54, 120.84°)
OKLaboklab(48.4% -0.0622 0.0832)
OKLCHoklch(48.4% 0.104 126.8)
XYZxyz(8.5367, 11.8696, 3.2075)
Luminance0.1187 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6920 #3A2069
analogous
#695F20 #4F6920 #2B6920
triadic
#4F6920 #204F69 #69204F
tetradic
#4F6920 #20695F #3A2069 #69202B
square
#4F6920 #20695F #3A2069 #69202B
split-complementary
#4F6920 #202B69 #5F2069
monochromatic
#121707 #2C3A12 #4F6920 #72982E #95C43F

Accessibility & contrast

On white

6.22
#4F6920 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#4F6920 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F6920
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6920#FFFFFF#000000##FFFFFF
##4F69201.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6216
Deuteranopia (green-blind)
#6B6026
Tritanopia (blue-blind)
#52645A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4f6920;
/* rgb */ color: rgb(79, 105, 32);
/* oklch */ color: oklch(48.4% 0.104 126.8);
Tailwind
colors: {
  custom: {
    50: '#839460',
    500: '#4f6920',
    950: '#000000',
  },
}
SCSS
$custom: #4f6920;
$custom-light: #839460;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6920",
  "rgb": {
    "r": 79,
    "g": 105,
    "b": 32
  },
  "hsl": {
    "h": 81.37,
    "s": 53.285,
    "l": 26.863
  },
  "oklch": {
    "l": 0.48402,
    "c": 0.1039,
    "h": 126.8
  },
  "luminance": 0.1187
}

Semantic roles & 50–950 ramp

primary
#4F6920
secondary
#66489D
accent
#4BDD7F
background
#F8F9F5
surface
#EFF1EA
border
#CACBC6
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #4F6920

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

Preview Lab → · Contrast checker → · Palette generator →

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