#4B4C12#4B4C12

#4B4C12 is a dark, moderate yellow. Relative luminance 0.067; OKLCH L 40.3% C 0.077 H 110.4°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#4B4C12
RGBrgb(75, 76, 18)
HSLhsl(61, 62%, 18%)
HSVhsv(61, 76%, 30%)
CMYKcmyk(1.3%, 0%, 76.3%, 70.2%)
CIE-LABlab(31.13, -8.66, 32.56)
CIE-LCHlch(31.13, 33.69, 104.89°)
OKLaboklab(40.34% -0.027 0.0726)
OKLCHoklch(40.34% 0.077 110.4)
XYZxyz(5.5955, 6.7086, 1.5723)
Luminance0.0671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B4C12 #13124C
analogous
#4C3012 #4B4C12 #2E4C12
triadic
#4B4C12 #124B4C #4C124B
tetradic
#4B4C12 #124C30 #13124C #4C122E
square
#4B4C12 #124C30 #13124C #4C122E
split-complementary
#4B4C12 #122E4C #30124C
monochromatic
#181906 #1A1B06 #4B4C12 #7C7D1E #ADAF29

Accessibility & contrast

On white

8.97
#4B4C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#4B4C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B4C12
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B4C12#FFFFFF#000000##FFFFFF
##4B4C121.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534809
Deuteranopia (green-blind)
#534A16
Tritanopia (blue-blind)
#514741
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4b4c12;
/* rgb */ color: rgb(75, 76, 18);
/* oklch */ color: oklch(40.3% 0.077 110.4);
Tailwind
colors: {
  custom: {
    50: '#7f7d54',
    500: '#4b4c12',
    950: '#000000',
  },
}
SCSS
$custom: #4b4c12;
$custom-light: #7f7d54;
$custom-dark: #000000;
JSON
{
  "hex": "#4b4c12",
  "rgb": {
    "r": 75,
    "g": 76,
    "b": 18
  },
  "hsl": {
    "h": 61.034,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.40335,
    "c": 0.07742,
    "h": 110.4
  },
  "luminance": 0.06708
}

Semantic roles & 50–950 ramp

primary
#4B4C12
secondary
#363585
accent
#43E546
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0903
muted
#7C7B78

Preview Lab

Preview with #4B4C12

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

Preview Lab → · Contrast checker → · Palette generator →

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