#4C5311#4C5311

#4C5311 is a dark, moderate yellow. Relative luminance 0.078; OKLCH L 42.2% C 0.087 H 115.5°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#4C5311
RGBrgb(76, 83, 17)
HSLhsl(66, 66%, 20%)
HSVhsv(66, 80%, 33%)
CMYKcmyk(8.4%, 0%, 79.5%, 67.5%)
CIE-LABlab(33.49, -12.30, 35.30)
CIE-LCHlch(33.49, 37.38, 109.20°)
OKLaboklab(42.24% -0.0373 0.0781)
OKLCHoklch(42.24% 0.087 115.5)
XYZxyz(6.1751, 7.7636, 1.7034)
Luminance0.0776 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5311 #181153
analogous
#533911 #4C5311 #2B5311
triadic
#4C5311 #114C53 #53114C
tetradic
#4C5311 #115339 #181153 #53112B
square
#4C5311 #115339 #181153 #53112B
split-complementary
#4C5311 #112B53 #391153
monochromatic
#171905 #1D2007 #4C5311 #7B861B #A9B926

Accessibility & contrast

On white

8.23
#4C5311 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#4C5311 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C5311
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5311#FFFFFF#000000##FFFFFF
##4C53111.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E05
Deuteranopia (green-blind)
#594F16
Tritanopia (blue-blind)
#514E46
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4c5311;
/* rgb */ color: rgb(76, 83, 17);
/* oklch */ color: oklch(42.2% 0.087 115.5);
Tailwind
colors: {
  custom: {
    50: '#808355',
    500: '#4c5311',
    950: '#000000',
  },
}
SCSS
$custom: #4c5311;
$custom-light: #808355;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5311",
  "rgb": {
    "r": 76,
    "g": 83,
    "b": 17
  },
  "hsl": {
    "h": 66.364,
    "s": 66,
    "l": 19.608
  },
  "oklch": {
    "l": 0.42239,
    "c": 0.08655,
    "h": 115.5
  },
  "luminance": 0.07763
}

Semantic roles & 50–950 ramp

primary
#4C5311
secondary
#3D348C
accent
#3FE951
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4C5311

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

Preview Lab → · Contrast checker → · Palette generator →

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