#4B4712#4B4712

#4B4712 is a dark, moderate yellow. Relative luminance 0.060; OKLCH L 39.1% C 0.072 H 105.0°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#4B4712
RGBrgb(75, 71, 18)
HSLhsl(56, 61%, 18%)
HSVhsv(56, 76%, 29%)
CMYKcmyk(0%, 5.3%, 76%, 70.6%)
CIE-LABlab(29.53, -5.65, 30.96)
CIE-LCHlch(29.53, 31.47, 100.35°)
OKLaboklab(39.06% -0.0185 0.0692)
OKLCHoklch(39.06% 0.072 105)
XYZxyz(5.2643, 6.0462, 1.4619)
Luminance0.0605 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B4712 #12164B
analogous
#4B2A12 #4B4712 #324B12
triadic
#4B4712 #124B47 #47124B
tetradic
#4B4712 #124B2A #12164B #4B1232
square
#4B4712 #124B2A #12164B #4B1232
split-complementary
#4B4712 #12324B #2A124B
monochromatic
#191706 #1A1806 #4B4712 #7C761E #AEA42A

Accessibility & contrast

On white

9.51
#4B4712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#4B4712 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B4712
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B4712#FFFFFF#000000##FFFFFF
##4B47121.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E440A
Deuteranopia (green-blind)
#4F4715
Tritanopia (blue-blind)
#51423C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4b4712;
/* rgb */ color: rgb(75, 71, 18);
/* oklch */ color: oklch(39.1% 0.072 105.0);
Tailwind
colors: {
  custom: {
    50: '#7f7a54',
    500: '#4b4712',
    950: '#000000',
  },
}
SCSS
$custom: #4b4712;
$custom-light: #7f7a54;
$custom-dark: #000000;
JSON
{
  "hex": "#4b4712",
  "rgb": {
    "r": 75,
    "g": 71,
    "b": 18
  },
  "hsl": {
    "h": 55.789,
    "s": 61.29,
    "l": 18.235
  },
  "oklch": {
    "l": 0.39055,
    "c": 0.07164,
    "h": 105
  },
  "luminance": 0.06046
}

Semantic roles & 50–950 ramp

primary
#4B4712
secondary
#353A84
accent
#4FE443
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0A0903
muted
#7C7B78

Preview Lab

Preview with #4B4712

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

Preview Lab → · Contrast checker → · Palette generator →

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