#4C5115#4C5115

#4C5115 is a dark, moderate yellow. Relative luminance 0.075; OKLCH L 41.8% C 0.081 H 114.0°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#4C5115
RGBrgb(76, 81, 21)
HSLhsl(65, 59%, 20%)
HSVhsv(65, 74%, 32%)
CMYKcmyk(6.2%, 0%, 74.1%, 68.2%)
CIE-LABlab(32.87, -10.90, 32.99)
CIE-LCHlch(32.87, 34.75, 108.28°)
OKLaboklab(41.75% -0.033 0.074)
OKLCHoklch(41.75% 0.081 114)
XYZxyz(6.0584, 7.4756, 1.8331)
Luminance0.0748 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5115 #1A1551
analogous
#513815 #4C5115 #2E5115
triadic
#4C5115 #154C51 #51154C
tetradic
#4C5115 #155138 #1A1551 #51152E
square
#4C5115 #155138 #1A1551 #51152E
split-complementary
#4C5115 #152E51 #381551
monochromatic
#171806 #1E2008 #4C5115 #7A8222 #A7B22E

Accessibility & contrast

On white

8.42
#4C5115 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#4C5115 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C5115
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5115#FFFFFF#000000##FFFFFF
##4C51151.008.422.508.42
#FFFFFF8.421.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D0C
Deuteranopia (green-blind)
#574E19
Tritanopia (blue-blind)
#514C45
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4c5115;
/* rgb */ color: rgb(76, 81, 21);
/* oklch */ color: oklch(41.8% 0.081 114.0);
Tailwind
colors: {
  custom: {
    50: '#808157',
    500: '#4c5115',
    950: '#000000',
  },
}
SCSS
$custom: #4c5115;
$custom-light: #808157;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5115",
  "rgb": {
    "r": 76,
    "g": 81,
    "b": 21
  },
  "hsl": {
    "h": 65,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.41751,
    "c": 0.08103,
    "h": 114
  },
  "luminance": 0.07476
}

Semantic roles & 50–950 ramp

primary
#4C5115
secondary
#403989
accent
#46E253
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4C5115

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

Preview Lab → · Contrast checker → · Palette generator →

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