#4F6611#4F6611

#4F6611 is a mid, moderate yellow-green. Relative luminance 0.112; OKLCH L 47.5% C 0.110 H 124.3°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#4F6611
RGBrgb(79, 102, 17)
HSLhsl(76, 71%, 23%)
HSVhsv(76, 83%, 40%)
CMYKcmyk(22.5%, 0%, 83.3%, 60%)
CIE-LABlab(39.92, -21.23, 41.40)
CIE-LCHlch(39.92, 46.52, 117.15°)
OKLaboklab(47.49% -0.062 0.0909)
OKLCHoklch(47.49% 0.11 124.3)
XYZxyz(8.0771, 11.2054, 2.2675)
Luminance0.1120 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6611 #281166
analogous
#665211 #4F6611 #246611
triadic
#4F6611 #114F66 #66114F
tetradic
#4F6611 #116652 #281166 #661124
square
#4F6611 #116652 #281166 #661124
split-complementary
#4F6611 #112466 #521166
monochromatic
#141A04 #263208 #4F6611 #789A1A #A0CF22

Accessibility & contrast

On white

6.48
#4F6611 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#4F6611 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F6611
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6611#FFFFFF#000000##FFFFFF
##4F66111.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F00
Deuteranopia (green-blind)
#695E1A
Tritanopia (blue-blind)
#536156
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4f6611;
/* rgb */ color: rgb(79, 102, 17);
/* oklch */ color: oklch(47.5% 0.110 124.3);
Tailwind
colors: {
  custom: {
    50: '#839158',
    500: '#4f6611',
    950: '#000000',
  },
}
SCSS
$custom: #4f6611;
$custom-light: #839158;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6611",
  "rgb": {
    "r": 79,
    "g": 102,
    "b": 17
  },
  "hsl": {
    "h": 76.235,
    "s": 71.429,
    "l": 23.333
  },
  "oklch": {
    "l": 0.47491,
    "c": 0.11003,
    "h": 124.3
  },
  "luminance": 0.11205
}

Semantic roles & 50–950 ramp

primary
#4F6611
secondary
#51359E
accent
#3AEE6A
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4F6611

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

Preview Lab → · Contrast checker → · Palette generator →

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