#4A460F#4A460F

#4A460F is a dark, moderate yellow. Relative luminance 0.059; OKLCH L 38.7% C 0.073 H 105.1°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#4A460F
RGBrgb(74, 70, 15)
HSLhsl(56, 66%, 17%)
HSVhsv(56, 80%, 29%)
CMYKcmyk(0%, 5.4%, 79.7%, 71%)
CIE-LABlab(29.08, -5.73, 31.83)
CIE-LCHlch(29.08, 32.34, 100.21°)
OKLaboklab(38.67% -0.019 0.0704)
OKLCHoklch(38.67% 0.073 105.1)
XYZxyz(5.1006, 5.8708, 1.3164)
Luminance0.0587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A460F #0F134A
analogous
#4A280F #4A460F #314A0F
triadic
#4A460F #0F4A46 #460F4A
tetradic
#4A460F #0F4A28 #0F134A #4A0F31
square
#4A460F #0F4A28 #0F134A #4A0F31
split-complementary
#4A460F #0F314A #280F4A
monochromatic
#191805 #191805 #4A460F #7D7619 #B0A624

Accessibility & contrast

On white

9.66
#4A460F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A460F
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A460F#FFFFFF#000000##FFFFFF
##4A460F1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4306
Deuteranopia (green-blind)
#4E4613
Tritanopia (blue-blind)
#50413B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4a460f;
/* rgb */ color: rgb(74, 70, 15);
/* oklch */ color: oklch(38.7% 0.073 105.1);
Tailwind
colors: {
  custom: {
    50: '#7f7952',
    500: '#4a460f',
    950: '#000000',
  },
}
SCSS
$custom: #4a460f;
$custom-light: #7f7952;
$custom-dark: #000000;
JSON
{
  "hex": "#4a460f",
  "rgb": {
    "r": 74,
    "g": 70,
    "b": 15
  },
  "hsl": {
    "h": 55.932,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.38669,
    "c": 0.07297,
    "h": 105.1
  },
  "luminance": 0.05871
}

Semantic roles & 50–950 ramp

primary
#4A460F
secondary
#303684
accent
#4AE93F
background
#F7F7F4
surface
#EEEDE7
border
#C9C8C3
text
#0A0902
muted
#7C7B78

Preview Lab

Preview with #4A460F

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

Preview Lab → · Contrast checker → · Palette generator →

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