#4C4A0F#4C4A0F

#4C4A0F is a dark, moderate yellow. Relative luminance 0.065; OKLCH L 39.9% C 0.077 H 107.5°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#4C4A0F
RGBrgb(76, 74, 15)
HSLhsl(58, 67%, 18%)
HSVhsv(58, 80%, 30%)
CMYKcmyk(0%, 2.6%, 80.3%, 70.2%)
CIE-LABlab(30.57, -7.13, 33.32)
CIE-LCHlch(30.57, 34.08, 102.09°)
OKLaboklab(39.9% -0.0231 0.0735)
OKLCHoklch(39.9% 0.077 107.5)
XYZxyz(5.5157, 6.4687, 1.4099)
Luminance0.0647 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4A0F #0F114C
analogous
#4C2B0F #4C4A0F #2F4C0F
triadic
#4C4A0F #0F4C4A #4A0F4C
tetradic
#4C4A0F #0F4C2B #0F114C #4C0F2F
square
#4C4A0F #0F4C2B #0F114C #4C0F2F
split-complementary
#4C4A0F #0F2F4C #2B0F4C
monochromatic
#1A1905 #1A1905 #4C4A0F #7F7C19 #B2AE23

Accessibility & contrast

On white

9.16
#4C4A0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#4C4A0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C4A0F
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4A0F#FFFFFF#000000##FFFFFF
##4C4A0F1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514705
Deuteranopia (green-blind)
#524913
Tritanopia (blue-blind)
#52453F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4c4a0f;
/* rgb */ color: rgb(76, 74, 15);
/* oklch */ color: oklch(39.9% 0.077 107.5);
Tailwind
colors: {
  custom: {
    50: '#807c52',
    500: '#4c4a0f',
    950: '#000000',
  },
}
SCSS
$custom: #4c4a0f;
$custom-light: #807c52;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4a0f",
  "rgb": {
    "r": 76,
    "g": 74,
    "b": 15
  },
  "hsl": {
    "h": 58.033,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.39898,
    "c": 0.07706,
    "h": 107.5
  },
  "luminance": 0.06469
}

Semantic roles & 50–950 ramp

primary
#4C4A0F
secondary
#313386
accent
#44EA3E
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0A0902
muted
#7C7B78

Preview Lab

Preview with #4C4A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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