#4F661F#4F661F

#4F661F is a mid, moderate yellow-green. Relative luminance 0.113; OKLCH L 47.6% C 0.100 H 125.5°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#4F661F
RGBrgb(79, 102, 31)
HSLhsl(79, 53%, 26%)
HSVhsv(79, 70%, 40%)
CMYKcmyk(22.5%, 0%, 69.6%, 60%)
CIE-LABlab(40.02, -20.33, 35.93)
CIE-LCHlch(40.02, 41.29, 119.50°)
OKLaboklab(47.6% -0.0583 0.0818)
OKLCHoklch(47.6% 0.1 125.5)
XYZxyz(8.2232, 11.2638, 3.0370)
Luminance0.1126 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F661F #361F66
analogous
#66591F #4F661F #2B661F
triadic
#4F661F #1F4F66 #661F4F
tetradic
#4F661F #1F6659 #361F66 #661F2B
square
#4F661F #1F6659 #361F66 #661F2B
split-complementary
#4F661F #1F2B66 #591F66
monochromatic
#121707 #2B3711 #4F661F #73952D #98C43C

Accessibility & contrast

On white

6.46
#4F661F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#4F661F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F661F
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F661F#FFFFFF#000000##FFFFFF
##4F661F1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F15
Deuteranopia (green-blind)
#695E24
Tritanopia (blue-blind)
#536157
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4f661f;
/* rgb */ color: rgb(79, 102, 31);
/* oklch */ color: oklch(47.6% 0.100 125.5);
Tailwind
colors: {
  custom: {
    50: '#83915f',
    500: '#4f661f',
    950: '#000000',
  },
}
SCSS
$custom: #4f661f;
$custom-light: #83915f;
$custom-dark: #000000;
JSON
{
  "hex": "#4f661f",
  "rgb": {
    "r": 79,
    "g": 102,
    "b": 31
  },
  "hsl": {
    "h": 79.437,
    "s": 53.383,
    "l": 26.078
  },
  "oklch": {
    "l": 0.476,
    "c": 0.10045,
    "h": 125.5
  },
  "luminance": 0.11264
}

Semantic roles & 50–950 ramp

primary
#4F661F
secondary
#62469A
accent
#4BDD7A
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C05
muted
#7C7D79

Preview Lab

Preview with #4F661F

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

Preview Lab → · Contrast checker → · Palette generator →

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