#4A481C#4A481C

#4A481C is a dark, moderate yellow. Relative luminance 0.062; OKLCH L 39.3% C 0.063 H 106.6°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#4A481C
RGBrgb(74, 72, 28)
HSLhsl(57, 45%, 20%)
HSVhsv(57, 62%, 29%)
CMYKcmyk(0%, 2.7%, 62.2%, 71%)
CIE-LABlab(29.85, -5.99, 26.21)
CIE-LCHlch(29.85, 26.88, 102.87°)
OKLaboklab(39.32% -0.0181 0.0609)
OKLCHoklch(39.32% 0.063 106.6)
XYZxyz(5.3512, 6.1746, 2.0083)
Luminance0.0617 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A481C #1C1E4A
analogous
#4A311C #4A481C #354A1C
triadic
#4A481C #1C4A48 #481C4A
tetradic
#4A481C #1C4A31 #1C1E4A #4A1C35
square
#4A481C #1C4A31 #1C1E4A #4A1C35
split-complementary
#4A481C #1C354A #311C4A
monochromatic
#161608 #1E1D0B #4A481C #76732D #A39E3E

Accessibility & contrast

On white

9.40
#4A481C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#4A481C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A481C
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A481C#FFFFFF#000000##FFFFFF
##4A481C1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4517
Deuteranopia (green-blind)
#4F471E
Tritanopia (blue-blind)
#4F433E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4a481c;
/* rgb */ color: rgb(74, 72, 28);
/* oklch */ color: oklch(39.3% 0.063 106.6);
Tailwind
colors: {
  custom: {
    50: '#7e7a5a',
    500: '#4a481c',
    950: '#000000',
  },
}
SCSS
$custom: #4a481c;
$custom-light: #7e7a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#4a481c",
  "rgb": {
    "r": 74,
    "g": 72,
    "b": 28
  },
  "hsl": {
    "h": 57.391,
    "s": 45.098,
    "l": 20
  },
  "oklch": {
    "l": 0.39318,
    "c": 0.06349,
    "h": 106.6
  },
  "luminance": 0.06174
}

Semantic roles & 50–950 ramp

primary
#4A481C
secondary
#42457F
accent
#59D553
background
#F7F7F5
surface
#EEEDE9
border
#C9C8C5
text
#0A0904
muted
#7C7B79

Preview Lab

Preview with #4A481C

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

Preview Lab → · Contrast checker → · Palette generator →

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