#4C661B#4C661B

#4C661B is a mid, moderate yellow-green. Relative luminance 0.111; OKLCH L 47.3% C 0.105 H 126.7°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#4C661B
RGBrgb(76, 102, 27)
HSLhsl(81, 58%, 25%)
HSVhsv(81, 74%, 40%)
CMYKcmyk(25.5%, 0%, 73.5%, 60%)
CIE-LABlab(39.78, -21.95, 37.38)
CIE-LCHlch(39.78, 43.35, 120.42°)
OKLaboklab(47.34% -0.0629 0.0843)
OKLCHoklch(47.34% 0.105 126.7)
XYZxyz(7.9297, 11.1182, 2.7650)
Luminance0.1112 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C661B #351B66
analogous
#665A1B #4C661B #26661B
triadic
#4C661B #1B4C66 #661B4C
tetradic
#4C661B #1B665A #351B66 #661B26
square
#4C661B #1B665A #351B66 #661B26
split-complementary
#4C661B #1B2666 #5A1B66
monochromatic
#121806 #28360E #4C661B #709628 #94C735

Accessibility & contrast

On white

6.51
#4C661B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#4C661B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C661B
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C661B#FFFFFF#000000##FFFFFF
##4C661B1.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F0F
Deuteranopia (green-blind)
#685D21
Tritanopia (blue-blind)
#4F6157
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4c661b;
/* rgb */ color: rgb(76, 102, 27);
/* oklch */ color: oklch(47.3% 0.105 126.7);
Tailwind
colors: {
  custom: {
    50: '#81915c',
    500: '#4c661b',
    950: '#000000',
  },
}
SCSS
$custom: #4c661b;
$custom-light: #81915c;
$custom-dark: #000000;
JSON
{
  "hex": "#4c661b",
  "rgb": {
    "r": 76,
    "g": 102,
    "b": 27
  },
  "hsl": {
    "h": 80.8,
    "s": 58.14,
    "l": 25.294
  },
  "oklch": {
    "l": 0.47339,
    "c": 0.10518,
    "h": 126.7
  },
  "luminance": 0.11118
}

Semantic roles & 50–950 ramp

primary
#4C661B
secondary
#61419B
accent
#46E17C
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0A0D04
muted
#7C7D79

Preview Lab

Preview with #4C661B

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

Preview Lab → · Contrast checker → · Palette generator →

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