#4B400E#4B400E

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

Color values

HEX#4B400E
RGBrgb(75, 64, 14)
HSLhsl(49, 69%, 17%)
HSVhsv(49, 81%, 29%)
CMYKcmyk(0%, 14.7%, 81.3%, 70.6%)
CIE-LABlab(27.28, -1.56, 30.56)
CIE-LCHlch(27.28, 30.60, 92.92°)
OKLaboklab(37.26% -0.0074 0.0675)
OKLCHoklch(37.26% 0.068 96.3)
XYZxyz(4.8146, 5.1946, 1.1644)
Luminance0.0519 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B400E #0E194B
analogous
#4B210E #4B400E #384B0E
triadic
#4B400E #0E4B40 #400E4B
tetradic
#4B400E #0E4B21 #0E194B #4B0E38
square
#4B400E #0E4B21 #0E194B #4B0E38
split-complementary
#4B400E #0E384B #210E4B
monochromatic
#1A1605 #1A1605 #4B400E #7F6C18 #B29821

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B400E#FFFFFF#000000##FFFFFF
##4B400E1.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)
#473E06
Deuteranopia (green-blind)
#4A4211
Tritanopia (blue-blind)
#523A36
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4b400e;
/* rgb */ color: rgb(75, 64, 14);
/* oklch */ color: oklch(37.3% 0.068 96.3);
Tailwind
colors: {
  custom: {
    50: '#807450',
    500: '#4b400e',
    950: '#000000',
  },
}
SCSS
$custom: #4b400e;
$custom-light: #807450;
$custom-dark: #000000;
JSON
{
  "hex": "#4b400e",
  "rgb": {
    "r": 75,
    "g": 64,
    "b": 14
  },
  "hsl": {
    "h": 49.18,
    "s": 68.539,
    "l": 17.451
  },
  "oklch": {
    "l": 0.37262,
    "c": 0.0679,
    "h": 96.3
  },
  "luminance": 0.05194
}

Semantic roles & 50–950 ramp

primary
#4B400E
secondary
#2F3F86
accent
#5CEB3C
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0A0802
muted
#7C7B78

Preview Lab

Preview with #4B400E

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

Preview Lab → · Contrast checker → · Palette generator →

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