#4B400F#4B400F

#4B400F is a dark, moderate yellow. Relative luminance 0.052; OKLCH L 37.3% C 0.067 H 96.1°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#4B400F
RGBrgb(75, 64, 15)
HSLhsl(49, 67%, 18%)
HSVhsv(49, 80%, 29%)
CMYKcmyk(0%, 14.7%, 80%, 70.6%)
CIE-LABlab(27.29, -1.50, 30.12)
CIE-LCHlch(27.29, 30.15, 92.86°)
OKLaboklab(37.27% -0.0071 0.0668)
OKLCHoklch(37.27% 0.067 96.1)
XYZxyz(4.8215, 5.1974, 1.2011)
Luminance0.0520 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B400F #0F1A4B
analogous
#4B220F #4B400F #384B0F
triadic
#4B400F #0F4B40 #400F4B
tetradic
#4B400F #0F4B22 #0F1A4B #4B0F38
square
#4B400F #0F4B22 #0F1A4B #4B0F38
split-complementary
#4B400F #0F384B #220F4B
monochromatic
#1A1605 #1A1605 #4B400F #7E6C19 #B19723

Accessibility & contrast

On white

10.30
#4B400F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B400F
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B400F#FFFFFF#000000##FFFFFF
##4B400F1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473E08
Deuteranopia (green-blind)
#4A4212
Tritanopia (blue-blind)
#523A36
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4b400f;
/* rgb */ color: rgb(75, 64, 15);
/* oklch */ color: oklch(37.3% 0.067 96.1);
Tailwind
colors: {
  custom: {
    50: '#807451',
    500: '#4b400f',
    950: '#000000',
  },
}
SCSS
$custom: #4b400f;
$custom-light: #807451;
$custom-dark: #000000;
JSON
{
  "hex": "#4b400f",
  "rgb": {
    "r": 75,
    "g": 64,
    "b": 15
  },
  "hsl": {
    "h": 49,
    "s": 66.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.3727,
    "c": 0.06715,
    "h": 96.1
  },
  "luminance": 0.05197
}

Semantic roles & 50–950 ramp

primary
#4B400F
secondary
#304085
accent
#5EEA3E
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0A0802
muted
#7C7B78

Preview Lab

Preview with #4B400F

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

Preview Lab → · Contrast checker → · Palette generator →

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