#4F6916#4F6916

#4F6916 is a mid, moderate yellow-green. Relative luminance 0.118; OKLCH L 48.3% C 0.111 H 125.9°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#4F6916
RGBrgb(79, 105, 22)
HSLhsl(79, 65%, 25%)
HSVhsv(79, 79%, 41%)
CMYKcmyk(24.8%, 0%, 79%, 58.8%)
CIE-LABlab(40.93, -22.50, 40.59)
CIE-LCHlch(40.93, 46.41, 119.01°)
OKLaboklab(48.32% -0.0651 0.0901)
OKLCHoklch(48.32% 0.111 125.9)
XYZxyz(8.4209, 11.8232, 2.5974)
Luminance0.1182 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6916 #301669
analogous
#695916 #4F6916 #266916
triadic
#4F6916 #164F69 #69164F
tetradic
#4F6916 #166959 #301669 #691626
square
#4F6916 #166959 #301669 #691626
split-complementary
#4F6916 #162669 #591669
monochromatic
#131905 #29360B #4F6916 #759C21 #9BCE2B

Accessibility & contrast

On white

6.24
#4F6916 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#4F6916 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F6916
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6916#FFFFFF#000000##FFFFFF
##4F69161.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6104
Deuteranopia (green-blind)
#6B601E
Tritanopia (blue-blind)
#536459
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4f6916;
/* rgb */ color: rgb(79, 105, 22);
/* oklch */ color: oklch(48.3% 0.111 125.9);
Tailwind
colors: {
  custom: {
    50: '#83945a',
    500: '#4f6916',
    950: '#000000',
  },
}
SCSS
$custom: #4f6916;
$custom-light: #83945a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6916",
  "rgb": {
    "r": 79,
    "g": 105,
    "b": 22
  },
  "hsl": {
    "h": 78.795,
    "s": 65.354,
    "l": 24.902
  },
  "oklch": {
    "l": 0.48318,
    "c": 0.11114,
    "h": 125.9
  },
  "luminance": 0.11823
}

Semantic roles & 50–950 ramp

primary
#4F6916
secondary
#5B3B9F
accent
#3FE874
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4F6916

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

Preview Lab → · Contrast checker → · Palette generator →

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