#4A480F#4A480F

#4A480F is a dark, moderate yellow. Relative luminance 0.061; OKLCH L 39.2% C 0.075 H 107.4°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#4A480F
RGBrgb(74, 72, 15)
HSLhsl(58, 66%, 17%)
HSVhsv(58, 80%, 29%)
CMYKcmyk(0%, 2.7%, 79.7%, 71%)
CIE-LABlab(29.73, -6.95, 32.45)
CIE-LCHlch(29.73, 33.18, 102.08°)
OKLaboklab(39.18% -0.0225 0.0718)
OKLCHoklch(39.18% 0.075 107.4)
XYZxyz(5.2278, 6.1252, 1.3588)
Luminance0.0612 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A480F #0F114A
analogous
#4A2A0F #4A480F #2F4A0F
triadic
#4A480F #0F4A48 #480F4A
tetradic
#4A480F #0F4A2A #0F114A #4A0F2F
square
#4A480F #0F4A2A #0F114A #4A0F2F
split-complementary
#4A480F #0F2F4A #2A0F4A
monochromatic
#191905 #191905 #4A480F #7D7A19 #B0AB24

Accessibility & contrast

On white

9.44
#4A480F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A480F
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A480F#FFFFFF#000000##FFFFFF
##4A480F1.009.442.239.44
#FFFFFF9.441.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4505
Deuteranopia (green-blind)
#504713
Tritanopia (blue-blind)
#50433D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4a480f;
/* rgb */ color: rgb(74, 72, 15);
/* oklch */ color: oklch(39.2% 0.075 107.4);
Tailwind
colors: {
  custom: {
    50: '#7f7a52',
    500: '#4a480f',
    950: '#000000',
  },
}
SCSS
$custom: #4a480f;
$custom-light: #7f7a52;
$custom-dark: #000000;
JSON
{
  "hex": "#4a480f",
  "rgb": {
    "r": 74,
    "g": 72,
    "b": 15
  },
  "hsl": {
    "h": 57.966,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.39181,
    "c": 0.07518,
    "h": 107.4
  },
  "luminance": 0.06125
}

Semantic roles & 50–950 ramp

primary
#4A480F
secondary
#303384
accent
#44E93F
background
#F7F7F4
surface
#EEEDE7
border
#C9C8C3
text
#0A0902
muted
#7C7B78

Preview Lab

Preview with #4A480F

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

Preview Lab → · Contrast checker → · Palette generator →

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