#4A450F#4A450F

#4A450F is a dark, moderate yellow. Relative luminance 0.057; OKLCH L 38.4% C 0.072 H 103.9°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#4A450F
RGBrgb(74, 69, 15)
HSLhsl(55, 66%, 17%)
HSVhsv(55, 80%, 29%)
CMYKcmyk(0%, 6.8%, 79.7%, 71%)
CIE-LABlab(28.76, -5.12, 31.52)
CIE-LCHlch(28.76, 31.93, 99.23°)
OKLaboklab(38.42% -0.0173 0.0698)
OKLCHoklch(38.42% 0.072 103.9)
XYZxyz(5.0386, 5.7468, 1.2957)
Luminance0.0575 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A450F #0F144A
analogous
#4A270F #4A450F #324A0F
triadic
#4A450F #0F4A45 #450F4A
tetradic
#4A450F #0F4A27 #0F144A #4A0F32
square
#4A450F #0F4A27 #0F144A #4A0F32
split-complementary
#4A450F #0F324A #270F4A
monochromatic
#191805 #191805 #4A450F #7D7419 #B0A424

Accessibility & contrast

On white

9.77
#4A450F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#4A450F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A450F
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A450F#FFFFFF#000000##FFFFFF
##4A450F1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4206
Deuteranopia (green-blind)
#4E4513
Tritanopia (blue-blind)
#50403A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4a450f;
/* rgb */ color: rgb(74, 69, 15);
/* oklch */ color: oklch(38.4% 0.072 103.9);
Tailwind
colors: {
  custom: {
    50: '#7f7852',
    500: '#4a450f',
    950: '#000000',
  },
}
SCSS
$custom: #4a450f;
$custom-light: #7f7852;
$custom-dark: #000000;
JSON
{
  "hex": "#4a450f",
  "rgb": {
    "r": 74,
    "g": 69,
    "b": 15
  },
  "hsl": {
    "h": 54.915,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.38415,
    "c": 0.07191,
    "h": 103.9
  },
  "luminance": 0.05747
}

Semantic roles & 50–950 ramp

primary
#4A450F
secondary
#303884
accent
#4DE93F
background
#F7F7F4
surface
#EEEDE7
border
#C9C8C3
text
#0A0802
muted
#7C7B78

Preview Lab

Preview with #4A450F

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

Preview Lab → · Contrast checker → · Palette generator →

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