#4A450B#4A450B

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

Color values

HEX#4A450B
RGBrgb(74, 69, 11)
HSLhsl(55, 74%, 17%)
HSVhsv(55, 85%, 29%)
CMYKcmyk(0%, 6.8%, 85.1%, 71%)
CIE-LABlab(28.74, -5.33, 33.13)
CIE-LCHlch(28.74, 33.56, 99.14°)
OKLaboklab(38.39% -0.0184 0.0723)
OKLCHoklch(38.39% 0.075 104.2)
XYZxyz(5.0128, 5.7365, 1.1597)
Luminance0.0574 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A450B #0B104A
analogous
#4A260B #4A450B #304A0B
triadic
#4A450B #0B4A45 #450B4A
tetradic
#4A450B #0B4A26 #0B104A #4A0B30
square
#4A450B #0B4A26 #0B104A #4A0B30
split-complementary
#4A450B #0B304A #260B4A
monochromatic
#1B1904 #1B1904 #4A450B #7F7713 #B5A81B

Accessibility & contrast

On white

9.78
#4A450B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A450B
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A450B#FFFFFF#000000##FFFFFF
##4A450B1.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a450b;
/* rgb */ color: rgb(74, 69, 11);
/* oklch */ color: oklch(38.4% 0.075 104.2);
Tailwind
colors: {
  custom: {
    50: '#7f7850',
    500: '#4a450b',
    950: '#000000',
  },
}
SCSS
$custom: #4a450b;
$custom-light: #7f7850;
$custom-dark: #000000;
JSON
{
  "hex": "#4a450b",
  "rgb": {
    "r": 74,
    "g": 69,
    "b": 11
  },
  "hsl": {
    "h": 55.238,
    "s": 74.118,
    "l": 16.667
  },
  "oklch": {
    "l": 0.38385,
    "c": 0.07461,
    "h": 104.2
  },
  "luminance": 0.05736
}

Semantic roles & 50–950 ramp

primary
#4A450B
secondary
#2B3286
accent
#46F137
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0A0802
muted
#7C7B78

Preview Lab

Preview with #4A450B

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

Preview Lab → · Contrast checker → · Palette generator →

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