#4C5512#4C5512

#4C5512 is a dark, moderate yellow. Relative luminance 0.081; OKLCH L 42.8% C 0.088 H 117.0°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#4C5512
RGBrgb(76, 85, 18)
HSLhsl(68, 65%, 20%)
HSVhsv(68, 79%, 33%)
CMYKcmyk(10.6%, 0%, 78.8%, 66.7%)
CIE-LABlab(34.14, -13.37, 35.53)
CIE-LCHlch(34.14, 37.96, 110.63°)
OKLaboklab(42.77% -0.0402 0.0788)
OKLCHoklch(42.77% 0.088 117)
XYZxyz(6.3383, 8.0772, 1.7973)
Luminance0.0808 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5512 #1B1255
analogous
#553D12 #4C5512 #2A5512
triadic
#4C5512 #124C55 #55124C
tetradic
#4C5512 #12553D #1B1255 #55122A
square
#4C5512 #12553D #1B1255 #55122A
split-complementary
#4C5512 #122A55 #3D1255
monochromatic
#171905 #1F2207 #4C5512 #79881D #A6BA27

Accessibility & contrast

On white

8.03
#4C5512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#4C5512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C5512
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5512#FFFFFF#000000##FFFFFF
##4C55121.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5006
Deuteranopia (green-blind)
#5A5118
Tritanopia (blue-blind)
#515048
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4c5512;
/* rgb */ color: rgb(76, 85, 18);
/* oklch */ color: oklch(42.8% 0.088 117.0);
Tailwind
colors: {
  custom: {
    50: '#808455',
    500: '#4c5512',
    950: '#000000',
  },
}
SCSS
$custom: #4c5512;
$custom-light: #808455;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5512",
  "rgb": {
    "r": 76,
    "g": 85,
    "b": 18
  },
  "hsl": {
    "h": 68.06,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.42769,
    "c": 0.08844,
    "h": 117
  },
  "luminance": 0.08077
}

Semantic roles & 50–950 ramp

primary
#4C5512
secondary
#41358E
accent
#40E856
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0A0B03
muted
#7C7C78

Preview Lab

Preview with #4C5512

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

Preview Lab → · Contrast checker → · Palette generator →

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