#4B4F0D#4B4F0D

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

Color values

HEX#4B4F0D
RGBrgb(75, 79, 13)
HSLhsl(64, 72%, 18%)
HSVhsv(64, 84%, 31%)
CMYKcmyk(5.1%, 0%, 83.5%, 69%)
CIE-LABlab(32.07, -10.69, 35.47)
CIE-LCHlch(32.07, 37.05, 106.77°)
OKLaboklab(41.08% -0.0332 0.0777)
OKLCHoklch(41.08% 0.084 113.1)
XYZxyz(5.7705, 7.1170, 1.4504)
Luminance0.0712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B4F0D #110D4F
analogous
#4F320D #4B4F0D #2A4F0D
triadic
#4B4F0D #0D4B4F #4F0D4B
tetradic
#4B4F0D #0D4F32 #110D4F #4F0D2A
square
#4B4F0D #0D4F32 #110D4F #4F0D2A
split-complementary
#4B4F0D #0D2A4F #320D4F
monochromatic
#191A04 #191A04 #4B4F0D #7D8416 #AFB81E

Accessibility & contrast

On white

8.67
#4B4F0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#4B4F0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B4F0D
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B4F0D#FFFFFF#000000##FFFFFF
##4B4F0D1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B01
Deuteranopia (green-blind)
#564C13
Tritanopia (blue-blind)
#514A43
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4b4f0d;
/* rgb */ color: rgb(75, 79, 13);
/* oklch */ color: oklch(41.1% 0.084 113.1);
Tailwind
colors: {
  custom: {
    50: '#808052',
    500: '#4b4f0d',
    950: '#000000',
  },
}
SCSS
$custom: #4b4f0d;
$custom-light: #808052;
$custom-dark: #000000;
JSON
{
  "hex": "#4b4f0d",
  "rgb": {
    "r": 75,
    "g": 79,
    "b": 13
  },
  "hsl": {
    "h": 63.636,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.41075,
    "c": 0.08448,
    "h": 113.1
  },
  "luminance": 0.07117
}

Semantic roles & 50–950 ramp

primary
#4B4F0D
secondary
#332E8A
accent
#39EE44
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0A0A02
muted
#7C7C78

Preview Lab

Preview with #4B4F0D

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

Preview Lab → · Contrast checker → · Palette generator →

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