#4C450B#4C450B

#4C450B is a dark, moderate yellow. Relative luminance 0.058; OKLCH L 38.6% C 0.074 H 102.1°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#4C450B
RGBrgb(76, 69, 11)
HSLhsl(54, 75%, 17%)
HSVhsv(54, 86%, 30%)
CMYKcmyk(0%, 9.2%, 85.5%, 70.2%)
CIE-LABlab(28.95, -4.30, 33.40)
CIE-LCHlch(28.95, 33.67, 97.33°)
OKLaboklab(38.6% -0.0156 0.0728)
OKLCHoklch(38.6% 0.074 102.1)
XYZxyz(5.1693, 5.8171, 1.1671)
Luminance0.0582 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C450B #0B124C
analogous
#4C240B #4C450B #334C0B
triadic
#4C450B #0B4C45 #450B4C
tetradic
#4C450B #0B4C24 #0B124C #4C0B33
square
#4C450B #0B4C24 #0B124C #4C0B33
split-complementary
#4C450B #0B334C #240B4C
monochromatic
#1B1804 #1B1804 #4C450B #817613 #B7A61A

Accessibility & contrast

On white

9.71
#4C450B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#4C450B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C450B
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C450B#FFFFFF#000000##FFFFFF
##4C450B1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4301
Deuteranopia (green-blind)
#4E460F
Tritanopia (blue-blind)
#533F3A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4c450b;
/* rgb */ color: rgb(76, 69, 11);
/* oklch */ color: oklch(38.6% 0.074 102.1);
Tailwind
colors: {
  custom: {
    50: '#817850',
    500: '#4c450b',
    950: '#000000',
  },
}
SCSS
$custom: #4c450b;
$custom-light: #817850;
$custom-dark: #000000;
JSON
{
  "hex": "#4c450b",
  "rgb": {
    "r": 76,
    "g": 69,
    "b": 11
  },
  "hsl": {
    "h": 53.538,
    "s": 74.713,
    "l": 17.059
  },
  "oklch": {
    "l": 0.38601,
    "c": 0.07444,
    "h": 102.1
  },
  "luminance": 0.05817
}

Semantic roles & 50–950 ramp

primary
#4C450B
secondary
#2B3588
accent
#4BF136
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0802
muted
#7C7B78

Preview Lab

Preview with #4C450B

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

Preview Lab → · Contrast checker → · Palette generator →

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