#4C661F#4C661F

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

Color values

HEX#4C661F
RGBrgb(76, 102, 31)
HSLhsl(82, 53%, 26%)
HSVhsv(82, 70%, 40%)
CMYKcmyk(25.5%, 0%, 69.6%, 60%)
CIE-LABlab(39.81, -21.64, 35.65)
CIE-LCHlch(39.81, 41.70, 121.25°)
OKLaboklab(47.38% -0.0617 0.0813)
OKLCHoklch(47.38% 0.102 127.2)
XYZxyz(7.9792, 11.1380, 3.0255)
Luminance0.1114 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C661F #391F66
analogous
#665C1F #4C661F #28661F
triadic
#4C661F #1F4C66 #661F4C
tetradic
#4C661F #1F665C #391F66 #661F28
square
#4C661F #1F665C #391F66 #661F28
split-complementary
#4C661F #1F2866 #5C1F66
monochromatic
#111707 #293711 #4C661F #6F952D #92C43C

Accessibility & contrast

On white

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

On black

3.23
#4C661F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4C661F#FFFFFF#000000##FFFFFF
##4C661F1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c661f;
/* rgb */ color: rgb(76, 102, 31);
/* oklch */ color: oklch(47.4% 0.102 127.2);
Tailwind
colors: {
  custom: {
    50: '#80915f',
    500: '#4c661f',
    950: '#000000',
  },
}
SCSS
$custom: #4c661f;
$custom-light: #80915f;
$custom-dark: #000000;
JSON
{
  "hex": "#4c661f",
  "rgb": {
    "r": 76,
    "g": 102,
    "b": 31
  },
  "hsl": {
    "h": 81.972,
    "s": 53.383,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47377,
    "c": 0.10203,
    "h": 127.2
  },
  "luminance": 0.11138
}

Semantic roles & 50–950 ramp

primary
#4C661F
secondary
#65469A
accent
#4BDD80
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0A0D05
muted
#7C7D79

Preview Lab

Preview with #4C661F

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

Preview Lab → · Contrast checker → · Palette generator →

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