#4C641B#4C641B

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

Color values

HEX#4C641B
RGBrgb(76, 100, 27)
HSLhsl(80, 57%, 25%)
HSVhsv(80, 73%, 39%)
CMYKcmyk(24%, 0%, 73%, 60.8%)
CIE-LABlab(39.12, -20.91, 36.71)
CIE-LCHlch(39.12, 42.25, 119.67°)
OKLaboklab(46.81% -0.0601 0.0829)
OKLCHoklch(46.81% 0.102 125.9)
XYZxyz(7.7355, 10.7299, 2.7002)
Luminance0.1073 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C641B #331B64
analogous
#64571B #4C641B #28641B
triadic
#4C641B #1B4C64 #641B4C
tetradic
#4C641B #1B6457 #331B64 #641B28
square
#4C641B #1B6457 #331B64 #641B28
split-complementary
#4C641B #1B2864 #571B64
monochromatic
#121807 #27340E #4C641B #719428 #95C435

Accessibility & contrast

On white

6.68
#4C641B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4C641B
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C641B#FFFFFF#000000##FFFFFF
##4C641B1.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D10
Deuteranopia (green-blind)
#665C21
Tritanopia (blue-blind)
#4F5F55
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4c641b;
/* rgb */ color: rgb(76, 100, 27);
/* oklch */ color: oklch(46.8% 0.102 125.9);
Tailwind
colors: {
  custom: {
    50: '#81905c',
    500: '#4c641b',
    950: '#000000',
  },
}
SCSS
$custom: #4c641b;
$custom-light: #81905c;
$custom-dark: #000000;
JSON
{
  "hex": "#4c641b",
  "rgb": {
    "r": 76,
    "g": 100,
    "b": 27
  },
  "hsl": {
    "h": 79.726,
    "s": 57.48,
    "l": 24.902
  },
  "oklch": {
    "l": 0.46807,
    "c": 0.10237,
    "h": 125.9
  },
  "luminance": 0.1073
}

Semantic roles & 50–950 ramp

primary
#4C641B
secondary
#5E4199
accent
#47E17A
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #4C641B

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

Preview Lab → · Contrast checker → · Palette generator →

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