#4C641F#4C641F

#4C641F is a mid, moderate yellow-green. Relative luminance 0.107; OKLCH L 46.8% C 0.099 H 126.4°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#4C641F
RGBrgb(76, 100, 31)
HSLhsl(81, 53%, 26%)
HSVhsv(81, 69%, 39%)
CMYKcmyk(24%, 0%, 69%, 60.8%)
CIE-LABlab(39.16, -20.60, 34.95)
CIE-LCHlch(39.16, 40.57, 120.51°)
OKLaboklab(46.85% -0.0588 0.0798)
OKLCHoklch(46.85% 0.099 126.4)
XYZxyz(7.7850, 10.7497, 2.9608)
Luminance0.1075 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C641F #371F64
analogous
#64591F #4C641F #29641F
triadic
#4C641F #1F4C64 #641F4C
tetradic
#4C641F #1F6459 #371F64 #641F29
square
#4C641F #1F6459 #371F64 #641F29
split-complementary
#4C641F #1F2964 #591F64
monochromatic
#121707 #283511 #4C641F #70932D #93C13C

Accessibility & contrast

On white

6.67
#4C641F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#4C641F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C641F
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C641F#FFFFFF#000000##FFFFFF
##4C641F1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D16
Deuteranopia (green-blind)
#665C24
Tritanopia (blue-blind)
#4F5F56
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4c641f;
/* rgb */ color: rgb(76, 100, 31);
/* oklch */ color: oklch(46.8% 0.099 126.4);
Tailwind
colors: {
  custom: {
    50: '#80905e',
    500: '#4c641f',
    950: '#000000',
  },
}
SCSS
$custom: #4c641f;
$custom-light: #80905e;
$custom-dark: #000000;
JSON
{
  "hex": "#4c641f",
  "rgb": {
    "r": 76,
    "g": 100,
    "b": 31
  },
  "hsl": {
    "h": 80.87,
    "s": 52.672,
    "l": 25.686
  },
  "oklch": {
    "l": 0.46845,
    "c": 0.09914,
    "h": 126.4
  },
  "luminance": 0.1075
}

Semantic roles & 50–950 ramp

primary
#4C641F
secondary
#634698
accent
#4CDC7E
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0A0C05
muted
#7C7D79

Preview Lab

Preview with #4C641F

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

Preview Lab → · Contrast checker → · Palette generator →

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