#4B400C#4B400C

#4B400C is a dark, moderate yellow. Relative luminance 0.052; OKLCH L 37.2% C 0.069 H 96.6°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#4B400C
RGBrgb(75, 64, 12)
HSLhsl(50, 72%, 17%)
HSVhsv(50, 84%, 29%)
CMYKcmyk(0%, 14.7%, 84%, 70.6%)
CIE-LABlab(27.27, -1.66, 31.41)
CIE-LCHlch(27.27, 31.45, 93.03°)
OKLaboklab(37.25% -0.008 0.0688)
OKLCHoklch(37.25% 0.069 96.6)
XYZxyz(4.8017, 5.1895, 1.0965)
Luminance0.0519 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B400C #0C174B
analogous
#4B210C #4B400C #374B0C
triadic
#4B400C #0C4B40 #400C4B
tetradic
#4B400C #0C4B21 #0C174B #4B0C37
square
#4B400C #0C4B21 #0C174B #4B0C37
split-complementary
#4B400C #0C374B #210C4B
monochromatic
#1A1704 #1A1704 #4B400C #806D14 #B59A1D

Accessibility & contrast

On white

10.31
#4B400C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#4B400C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B400C
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B400C#FFFFFF#000000##FFFFFF
##4B400C1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483E04
Deuteranopia (green-blind)
#4A420F
Tritanopia (blue-blind)
#523A36
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4b400c;
/* rgb */ color: rgb(75, 64, 12);
/* oklch */ color: oklch(37.2% 0.069 96.6);
Tailwind
colors: {
  custom: {
    50: '#80744f',
    500: '#4b400c',
    950: '#000000',
  },
}
SCSS
$custom: #4b400c;
$custom-light: #80744f;
$custom-dark: #000000;
JSON
{
  "hex": "#4b400c",
  "rgb": {
    "r": 75,
    "g": 64,
    "b": 12
  },
  "hsl": {
    "h": 49.524,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.37246,
    "c": 0.06929,
    "h": 96.6
  },
  "luminance": 0.05189
}

Semantic roles & 50–950 ramp

primary
#4B400C
secondary
#2C3C87
accent
#59EF39
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0A0802
muted
#7C7B78

Preview Lab

Preview with #4B400C

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

Preview Lab → · Contrast checker → · Palette generator →

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