#4B4F12#4B4F12

#4B4F12 is a dark, moderate yellow. Relative luminance 0.071; OKLCH L 41.1% C 0.081 H 113.2°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#4B4F12
RGBrgb(75, 79, 18)
HSLhsl(64, 63%, 19%)
HSVhsv(64, 77%, 31%)
CMYKcmyk(5.1%, 0%, 77.2%, 69%)
CIE-LABlab(32.10, -10.42, 33.52)
CIE-LCHlch(32.10, 35.10, 107.27°)
OKLaboklab(41.11% -0.0319 0.0746)
OKLCHoklch(41.11% 0.081 113.2)
XYZxyz(5.8070, 7.1316, 1.6428)
Luminance0.0713 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B4F12 #16124F
analogous
#4F3512 #4B4F12 #2D4F12
triadic
#4B4F12 #124B4F #4F124B
tetradic
#4B4F12 #124F35 #16124F #4F122D
square
#4B4F12 #124F35 #16124F #4F122D
split-complementary
#4B4F12 #122D4F #35124F
monochromatic
#181906 #1C1D07 #4B4F12 #7A811D #AAB329

Accessibility & contrast

On white

8.66
#4B4F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#4B4F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B4F12
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B4F12#FFFFFF#000000##FFFFFF
##4B4F121.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B08
Deuteranopia (green-blind)
#554C17
Tritanopia (blue-blind)
#514A43
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4b4f12;
/* rgb */ color: rgb(75, 79, 18);
/* oklch */ color: oklch(41.1% 0.081 113.2);
Tailwind
colors: {
  custom: {
    50: '#808055',
    500: '#4b4f12',
    950: '#000000',
  },
}
SCSS
$custom: #4b4f12;
$custom-light: #808055;
$custom-dark: #000000;
JSON
{
  "hex": "#4b4f12",
  "rgb": {
    "r": 75,
    "g": 79,
    "b": 18
  },
  "hsl": {
    "h": 63.934,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.41112,
    "c": 0.08112,
    "h": 113.2
  },
  "luminance": 0.07131
}

Semantic roles & 50–950 ramp

primary
#4B4F12
secondary
#3A3588
accent
#42E64D
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4B4F12

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

Preview Lab → · Contrast checker → · Palette generator →

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