#4C661C#4C661C

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

Color values

HEX#4C661C
RGBrgb(76, 102, 28)
HSLhsl(81, 57%, 25%)
HSVhsv(81, 73%, 40%)
CMYKcmyk(25.5%, 0%, 72.5%, 60%)
CIE-LABlab(39.79, -21.87, 36.96)
CIE-LCHlch(39.79, 42.95, 120.62°)
OKLaboklab(47.35% -0.0626 0.0836)
OKLCHoklch(47.35% 0.104 126.8)
XYZxyz(7.9415, 11.1229, 2.8269)
Luminance0.1112 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C661C #361C66
analogous
#665B1C #4C661C #27661C
triadic
#4C661C #1C4C66 #661C4C
tetradic
#4C661C #1C665B #361C66 #661C27
square
#4C661C #1C665B #361C66 #661C27
split-complementary
#4C661C #1C2766 #5B1C66
monochromatic
#121807 #28360F #4C661C #709629 #94C636

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C661C#FFFFFF#000000##FFFFFF
##4C661C1.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)
#6B5F11
Deuteranopia (green-blind)
#685D22
Tritanopia (blue-blind)
#4F6157
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4c661c;
/* rgb */ color: rgb(76, 102, 28);
/* oklch */ color: oklch(47.3% 0.104 126.8);
Tailwind
colors: {
  custom: {
    50: '#81915d',
    500: '#4c661c',
    950: '#000000',
  },
}
SCSS
$custom: #4c661c;
$custom-light: #81915d;
$custom-dark: #000000;
JSON
{
  "hex": "#4c661c",
  "rgb": {
    "r": 76,
    "g": 102,
    "b": 28
  },
  "hsl": {
    "h": 81.081,
    "s": 56.923,
    "l": 25.49
  },
  "oklch": {
    "l": 0.47348,
    "c": 0.10442,
    "h": 126.8
  },
  "luminance": 0.11123
}

Semantic roles & 50–950 ramp

primary
#4C661C
secondary
#62439B
accent
#48E07D
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0A0D04
muted
#7C7D79

Preview Lab

Preview with #4C661C

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

Preview Lab → · Contrast checker → · Palette generator →

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