#4C4911#4C4911

#4C4911 is a dark, moderate yellow. Relative luminance 0.063; OKLCH L 39.7% C 0.074 H 106.3°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#4C4911
RGBrgb(76, 73, 17)
HSLhsl(57, 63%, 18%)
HSVhsv(57, 78%, 30%)
CMYKcmyk(0%, 3.9%, 77.6%, 70.2%)
CIE-LABlab(30.26, -6.42, 32.17)
CIE-LCHlch(30.26, 32.81, 101.29°)
OKLaboklab(39.66% -0.0209 0.0715)
OKLCHoklch(39.66% 0.075 106.3)
XYZxyz(5.4644, 6.3423, 1.4665)
Luminance0.0634 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4911 #11144C
analogous
#4C2B11 #4C4911 #314C11
triadic
#4C4911 #114C49 #49114C
tetradic
#4C4911 #114C2B #11144C #4C1131
square
#4C4911 #114C2B #11144C #4C1131
split-complementary
#4C4911 #11314C #2B114C
monochromatic
#191806 #1A1906 #4C4911 #7E791C #B0A927

Accessibility & contrast

On white

9.26
#4C4911 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#4C4911 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C4911
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4911#FFFFFF#000000##FFFFFF
##4C49111.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504608
Deuteranopia (green-blind)
#514815
Tritanopia (blue-blind)
#52443E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4c4911;
/* rgb */ color: rgb(76, 73, 17);
/* oklch */ color: oklch(39.7% 0.074 106.3);
Tailwind
colors: {
  custom: {
    50: '#807b53',
    500: '#4c4911',
    950: '#000000',
  },
}
SCSS
$custom: #4c4911;
$custom-light: #807b53;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4911",
  "rgb": {
    "r": 76,
    "g": 73,
    "b": 17
  },
  "hsl": {
    "h": 56.949,
    "s": 63.441,
    "l": 18.235
  },
  "oklch": {
    "l": 0.39659,
    "c": 0.0745,
    "h": 106.3
  },
  "luminance": 0.06342
}

Semantic roles & 50–950 ramp

primary
#4C4911
secondary
#333885
accent
#4AE641
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0A0903
muted
#7C7B78

Preview Lab

Preview with #4C4911

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

Preview Lab → · Contrast checker → · Palette generator →

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