#4C450F#4C450F

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

Color values

HEX#4C450F
RGBrgb(76, 69, 15)
HSLhsl(53, 67%, 18%)
HSVhsv(53, 80%, 30%)
CMYKcmyk(0%, 9.2%, 80.3%, 70.2%)
CIE-LABlab(28.97, -4.10, 31.79)
CIE-LCHlch(28.97, 32.06, 97.34°)
OKLaboklab(38.63% -0.0146 0.0703)
OKLCHoklch(38.63% 0.072 101.7)
XYZxyz(5.1951, 5.8275, 1.3030)
Luminance0.0583 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C450F #0F164C
analogous
#4C260F #4C450F #344C0F
triadic
#4C450F #0F4C45 #450F4C
tetradic
#4C450F #0F4C26 #0F164C #4C0F34
square
#4C450F #0F4C26 #0F164C #4C0F34
split-complementary
#4C450F #0F344C #260F4C
monochromatic
#1A1705 #1A1705 #4C450F #7F7319 #B2A223

Accessibility & contrast

On white

9.70
#4C450F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#4C450F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C450F
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C450F#FFFFFF#000000##FFFFFF
##4C450F1.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4306
Deuteranopia (green-blind)
#4E4613
Tritanopia (blue-blind)
#523F3A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4c450f;
/* rgb */ color: rgb(76, 69, 15);
/* oklch */ color: oklch(38.6% 0.072 101.7);
Tailwind
colors: {
  custom: {
    50: '#817852',
    500: '#4c450f',
    950: '#000000',
  },
}
SCSS
$custom: #4c450f;
$custom-light: #817852;
$custom-dark: #000000;
JSON
{
  "hex": "#4c450f",
  "rgb": {
    "r": 76,
    "g": 69,
    "b": 15
  },
  "hsl": {
    "h": 53.115,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.3863,
    "c": 0.07177,
    "h": 101.7
  },
  "luminance": 0.05827
}

Semantic roles & 50–950 ramp

primary
#4C450F
secondary
#313A86
accent
#52EA3E
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0802
muted
#7C7B78

Preview Lab

Preview with #4C450F

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

Preview Lab → · Contrast checker → · Palette generator →

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