#4B4917#4B4917

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

Color values

HEX#4B4917
RGBrgb(75, 73, 23)
HSLhsl(58, 53%, 19%)
HSVhsv(58, 69%, 29%)
CMYKcmyk(0%, 2.7%, 69.3%, 70.6%)
CIE-LABlab(30.21, -6.52, 29.26)
CIE-LCHlch(30.21, 29.98, 102.56°)
OKLaboklab(39.61% -0.0203 0.0665)
OKLCHoklch(39.61% 0.07 107)
XYZxyz(5.4390, 6.3230, 1.7444)
Luminance0.0632 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B4917 #17194B
analogous
#4B2F17 #4B4917 #334B17
triadic
#4B4917 #174B49 #49174B
tetradic
#4B4917 #174B2F #17194B #4B1733
square
#4B4917 #174B2F #17194B #4B1733
split-complementary
#4B4917 #17334B #2F174B
monochromatic
#171707 #1C1B09 #4B4917 #7A7725 #A9A434

Accessibility & contrast

On white

9.27
#4B4917 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B4917
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B4917#FFFFFF#000000##FFFFFF
##4B49171.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4611
Deuteranopia (green-blind)
#50481A
Tritanopia (blue-blind)
#51443F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4b4917;
/* rgb */ color: rgb(75, 73, 23);
/* oklch */ color: oklch(39.6% 0.070 107.0);
Tailwind
colors: {
  custom: {
    50: '#7f7b57',
    500: '#4b4917',
    950: '#000000',
  },
}
SCSS
$custom: #4b4917;
$custom-light: #7f7b57;
$custom-dark: #000000;
JSON
{
  "hex": "#4b4917",
  "rgb": {
    "r": 75,
    "g": 73,
    "b": 23
  },
  "hsl": {
    "h": 57.692,
    "s": 53.061,
    "l": 19.216
  },
  "oklch": {
    "l": 0.39614,
    "c": 0.06958,
    "h": 107
  },
  "luminance": 0.06323
}

Semantic roles & 50–950 ramp

primary
#4B4917
secondary
#3C3E82
accent
#51DC4B
background
#F7F7F5
surface
#EEEDE9
border
#C9C8C5
text
#0A0903
muted
#7C7B78

Preview Lab

Preview with #4B4917

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

Preview Lab → · Contrast checker → · Palette generator →

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