#4B420C#4B420C

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

Color values

HEX#4B420C
RGBrgb(75, 66, 12)
HSLhsl(51, 72%, 17%)
HSVhsv(51, 84%, 29%)
CMYKcmyk(0%, 12%, 84%, 70.6%)
CIE-LABlab(27.90, -2.91, 32.00)
CIE-LCHlch(27.90, 32.13, 95.20°)
OKLaboklab(37.74% -0.0115 0.0701)
OKLCHoklch(37.74% 0.071 99.3)
XYZxyz(4.9165, 5.4191, 1.1348)
Luminance0.0542 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B420C #0C154B
analogous
#4B230C #4B420C #354B0C
triadic
#4B420C #0C4B42 #420C4B
tetradic
#4B420C #0C4B23 #0C154B #4B0C35
square
#4B420C #0C4B23 #0C154B #4B0C35
split-complementary
#4B420C #0C354B #230C4B
monochromatic
#1A1704 #1A1704 #4B420C #807014 #B59F1D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B420C#FFFFFF#000000##FFFFFF
##4B420C1.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)
#494003
Deuteranopia (green-blind)
#4C4310
Tritanopia (blue-blind)
#523C38
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4b420c;
/* rgb */ color: rgb(75, 66, 12);
/* oklch */ color: oklch(37.7% 0.071 99.3);
Tailwind
colors: {
  custom: {
    50: '#807650',
    500: '#4b420c',
    950: '#000000',
  },
}
SCSS
$custom: #4b420c;
$custom-light: #807650;
$custom-dark: #000000;
JSON
{
  "hex": "#4b420c",
  "rgb": {
    "r": 75,
    "g": 66,
    "b": 12
  },
  "hsl": {
    "h": 51.429,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.37744,
    "c": 0.07102,
    "h": 99.3
  },
  "luminance": 0.05419
}

Semantic roles & 50–950 ramp

primary
#4B420C
secondary
#2C3987
accent
#53EF39
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0A0802
muted
#7C7B78

Preview Lab

Preview with #4B420C

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

Preview Lab → · Contrast checker → · Palette generator →

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