#4B420D#4B420D

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

Color values

HEX#4B420D
RGBrgb(75, 66, 13)
HSLhsl(51, 70%, 17%)
HSVhsv(51, 83%, 29%)
CMYKcmyk(0%, 12%, 82.7%, 70.6%)
CIE-LABlab(27.90, -2.86, 31.59)
CIE-LCHlch(27.90, 31.72, 95.18°)
OKLaboklab(37.75% -0.0112 0.0694)
OKLCHoklch(37.75% 0.07 99.2)
XYZxyz(4.9228, 5.4216, 1.1679)
Luminance0.0542 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B420D #0D164B
analogous
#4B230D #4B420D #354B0D
triadic
#4B420D #0D4B42 #420D4B
tetradic
#4B420D #0D4B23 #0D164B #4B0D35
square
#4B420D #0D4B23 #0D164B #4B0D35
split-complementary
#4B420D #0D354B #230D4B
monochromatic
#1A1705 #1A1705 #4B420D #7F7016 #B39E1F

Accessibility & contrast

On white

10.08
#4B420D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#4B420D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B420D
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B420D#FFFFFF#000000##FFFFFF
##4B420D1.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494004
Deuteranopia (green-blind)
#4C4311
Tritanopia (blue-blind)
#523C38
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4b420d;
/* rgb */ color: rgb(75, 66, 13);
/* oklch */ color: oklch(37.8% 0.070 99.2);
Tailwind
colors: {
  custom: {
    50: '#807650',
    500: '#4b420d',
    950: '#000000',
  },
}
SCSS
$custom: #4b420d;
$custom-light: #807650;
$custom-dark: #000000;
JSON
{
  "hex": "#4b420d",
  "rgb": {
    "r": 75,
    "g": 66,
    "b": 13
  },
  "hsl": {
    "h": 51.29,
    "s": 70.455,
    "l": 17.255
  },
  "oklch": {
    "l": 0.37752,
    "c": 0.07035,
    "h": 99.2
  },
  "luminance": 0.05421
}

Semantic roles & 50–950 ramp

primary
#4B420D
secondary
#2E3A86
accent
#55ED3B
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0A0802
muted
#7C7B78

Preview Lab

Preview with #4B420D

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

Preview Lab → · Contrast checker → · Palette generator →

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