#4B450F#4B450F

#4B450F is a dark, moderate yellow. Relative luminance 0.058; OKLCH L 38.5% C 0.072 H 102.8°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#4B450F
RGBrgb(75, 69, 15)
HSLhsl(54, 67%, 18%)
HSVhsv(54, 80%, 29%)
CMYKcmyk(0%, 8%, 80%, 70.6%)
CIE-LABlab(28.87, -4.61, 31.66)
CIE-LCHlch(28.87, 31.99, 98.28°)
OKLaboklab(38.52% -0.0159 0.07)
OKLCHoklch(38.52% 0.072 102.8)
XYZxyz(5.1162, 5.7868, 1.2993)
Luminance0.0579 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B450F #0F154B
analogous
#4B270F #4B450F #334B0F
triadic
#4B450F #0F4B45 #450F4B
tetradic
#4B450F #0F4B27 #0F154B #4B0F33
square
#4B450F #0F4B27 #0F154B #4B0F33
split-complementary
#4B450F #0F334B #270F4B
monochromatic
#1A1705 #1A1705 #4B450F #7E7419 #B1A323

Accessibility & contrast

On white

9.73
#4B450F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#4B450F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B450F
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B450F#FFFFFF#000000##FFFFFF
##4B450F1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b450f;
/* rgb */ color: rgb(75, 69, 15);
/* oklch */ color: oklch(38.5% 0.072 102.8);
Tailwind
colors: {
  custom: {
    50: '#807852',
    500: '#4b450f',
    950: '#000000',
  },
}
SCSS
$custom: #4b450f;
$custom-light: #807852;
$custom-dark: #000000;
JSON
{
  "hex": "#4b450f",
  "rgb": {
    "r": 75,
    "g": 69,
    "b": 15
  },
  "hsl": {
    "h": 54,
    "s": 66.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.38522,
    "c": 0.07182,
    "h": 102.8
  },
  "luminance": 0.05787
}

Semantic roles & 50–950 ramp

primary
#4B450F
secondary
#303985
accent
#4FEA3E
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0A0802
muted
#7C7B78

Preview Lab

Preview with #4B450F

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

Preview Lab → · Contrast checker → · Palette generator →

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