#4B420F#4B420F

#4B420F is a dark, moderate yellow. Relative luminance 0.054; OKLCH L 37.8% C 0.069 H 98.9°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#4B420F
RGBrgb(75, 66, 15)
HSLhsl(51, 67%, 18%)
HSVhsv(51, 80%, 29%)
CMYKcmyk(0%, 12%, 80%, 70.6%)
CIE-LABlab(27.92, -2.75, 30.73)
CIE-LCHlch(27.92, 30.85, 95.12°)
OKLaboklab(37.77% -0.0107 0.0681)
OKLCHoklch(37.77% 0.069 98.9)
XYZxyz(4.9363, 5.4270, 1.2394)
Luminance0.0543 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B420F #0F184B
analogous
#4B240F #4B420F #364B0F
triadic
#4B420F #0F4B42 #420F4B
tetradic
#4B420F #0F4B24 #0F184B #4B0F36
square
#4B420F #0F4B24 #0F184B #4B0F36
split-complementary
#4B420F #0F364B #240F4B
monochromatic
#1A1605 #1A1605 #4B420F #7E6F19 #B19C23

Accessibility & contrast

On white

10.07
#4B420F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#4B420F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B420F
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B420F#FFFFFF#000000##FFFFFF
##4B420F1.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494007
Deuteranopia (green-blind)
#4C4312
Tritanopia (blue-blind)
#513C38
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4b420f;
/* rgb */ color: rgb(75, 66, 15);
/* oklch */ color: oklch(37.8% 0.069 98.9);
Tailwind
colors: {
  custom: {
    50: '#807651',
    500: '#4b420f',
    950: '#000000',
  },
}
SCSS
$custom: #4b420f;
$custom-light: #807651;
$custom-dark: #000000;
JSON
{
  "hex": "#4b420f",
  "rgb": {
    "r": 75,
    "g": 66,
    "b": 15
  },
  "hsl": {
    "h": 51,
    "s": 66.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.37768,
    "c": 0.06892,
    "h": 98.9
  },
  "luminance": 0.05427
}

Semantic roles & 50–950 ramp

primary
#4B420F
secondary
#303D85
accent
#58EA3E
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0A0802
muted
#7C7B78

Preview Lab

Preview with #4B420F

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

Preview Lab → · Contrast checker → · Palette generator →

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