#4F661B#4F661B

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

Color values

HEX#4F661B
RGBrgb(79, 102, 27)
HSLhsl(78, 58%, 25%)
HSVhsv(78, 74%, 40%)
CMYKcmyk(22.5%, 0%, 73.5%, 60%)
CIE-LABlab(39.99, -20.63, 37.66)
CIE-LCHlch(39.99, 42.95, 118.71°)
OKLaboklab(47.56% -0.0595 0.0848)
OKLCHoklch(47.56% 0.104 125.1)
XYZxyz(8.1737, 11.2440, 2.7764)
Luminance0.1124 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F661B #321B66
analogous
#66571B #4F661B #29661B
triadic
#4F661B #1B4F66 #661B4F
tetradic
#4F661B #1B6657 #321B66 #661B29
square
#4F661B #1B6657 #321B66 #661B29
split-complementary
#4F661B #1B2966 #571B66
monochromatic
#131806 #2A360E #4F661B #749628 #9AC735

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F661B#FFFFFF#000000##FFFFFF
##4F661B1.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)
#6C5F0F
Deuteranopia (green-blind)
#695E21
Tritanopia (blue-blind)
#536157
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4f661b;
/* rgb */ color: rgb(79, 102, 27);
/* oklch */ color: oklch(47.6% 0.104 125.1);
Tailwind
colors: {
  custom: {
    50: '#83915c',
    500: '#4f661b',
    950: '#000000',
  },
}
SCSS
$custom: #4f661b;
$custom-light: #83915c;
$custom-dark: #000000;
JSON
{
  "hex": "#4f661b",
  "rgb": {
    "r": 79,
    "g": 102,
    "b": 27
  },
  "hsl": {
    "h": 78.4,
    "s": 58.14,
    "l": 25.294
  },
  "oklch": {
    "l": 0.47563,
    "c": 0.1036,
    "h": 125.1
  },
  "luminance": 0.11244
}

Semantic roles & 50–950 ramp

primary
#4F661B
secondary
#5D419B
accent
#46E176
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4F661B

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

Preview Lab → · Contrast checker → · Palette generator →

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