#4B4912#4B4912

#4B4912 is a dark, moderate yellow. Relative luminance 0.063; OKLCH L 39.6% C 0.074 H 107.3°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#4B4912
RGBrgb(75, 73, 18)
HSLhsl(58, 61%, 18%)
HSVhsv(58, 76%, 29%)
CMYKcmyk(0%, 2.7%, 76%, 70.6%)
CIE-LABlab(30.17, -6.86, 31.60)
CIE-LCHlch(30.17, 32.34, 102.25°)
OKLaboklab(39.57% -0.0219 0.0706)
OKLCHoklch(39.57% 0.074 107.3)
XYZxyz(5.3936, 6.3048, 1.5050)
Luminance0.0630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B4912 #12144B
analogous
#4B2C12 #4B4912 #304B12
triadic
#4B4912 #124B49 #49124B
tetradic
#4B4912 #124B2C #12144B #4B1230
square
#4B4912 #124B2C #12144B #4B1230
split-complementary
#4B4912 #12304B #2C124B
monochromatic
#191806 #1A1906 #4B4912 #7C791E #AEA92A

Accessibility & contrast

On white

9.29
#4B4912 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#4B4912 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B4912
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B4912#FFFFFF#000000##FFFFFF
##4B49121.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50460A
Deuteranopia (green-blind)
#514816
Tritanopia (blue-blind)
#51443E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4b4912;
/* rgb */ color: rgb(75, 73, 18);
/* oklch */ color: oklch(39.6% 0.074 107.3);
Tailwind
colors: {
  custom: {
    50: '#7f7b54',
    500: '#4b4912',
    950: '#000000',
  },
}
SCSS
$custom: #4b4912;
$custom-light: #7f7b54;
$custom-dark: #000000;
JSON
{
  "hex": "#4b4912",
  "rgb": {
    "r": 75,
    "g": 73,
    "b": 18
  },
  "hsl": {
    "h": 57.895,
    "s": 61.29,
    "l": 18.235
  },
  "oklch": {
    "l": 0.39565,
    "c": 0.07389,
    "h": 107.3
  },
  "luminance": 0.06305
}

Semantic roles & 50–950 ramp

primary
#4B4912
secondary
#353884
accent
#49E443
background
#F8F7F4
surface
#EFEDE8
border
#CAC8C4
text
#0A0903
muted
#7C7B78

Preview Lab

Preview with #4B4912

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

Preview Lab → · Contrast checker → · Palette generator →

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