#4B4D0B#4B4D0B

#4B4D0B is a dark, moderate yellow. Relative luminance 0.068; OKLCH L 40.5% C 0.083 H 111.4°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#4B4D0B
RGBrgb(75, 77, 11)
HSLhsl(62, 75%, 17%)
HSVhsv(62, 86%, 30%)
CMYKcmyk(2.6%, 0%, 85.7%, 69.8%)
CIE-LABlab(31.41, -9.62, 35.59)
CIE-LCHlch(31.41, 36.86, 105.12°)
OKLaboklab(40.54% -0.0304 0.0775)
OKLCHoklch(40.54% 0.083 111.4)
XYZxyz(5.6161, 6.8279, 1.3386)
Luminance0.0683 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B4D0B #0D0B4D
analogous
#4D2E0B #4B4D0B #2A4D0B
triadic
#4B4D0B #0B4B4D #4D0B4B
tetradic
#4B4D0B #0B4D2E #0D0B4D #4D0B2A
square
#4B4D0B #0B4D2E #0D0B4D #4D0B2A
split-complementary
#4B4D0B #0B2A4D #2E0B4D
monochromatic
#1A1B04 #1A1B04 #4B4D0B #7F8313 #B3B81A

Accessibility & contrast

On white

8.88
#4B4D0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#4B4D0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B4D0B
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B4D0B#FFFFFF#000000##FFFFFF
##4B4D0B1.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544900
Deuteranopia (green-blind)
#544B11
Tritanopia (blue-blind)
#514841
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4b4d0b;
/* rgb */ color: rgb(75, 77, 11);
/* oklch */ color: oklch(40.5% 0.083 111.4);
Tailwind
colors: {
  custom: {
    50: '#807e51',
    500: '#4b4d0b',
    950: '#000000',
  },
}
SCSS
$custom: #4b4d0b;
$custom-light: #807e51;
$custom-dark: #000000;
JSON
{
  "hex": "#4b4d0b",
  "rgb": {
    "r": 75,
    "g": 77,
    "b": 11
  },
  "hsl": {
    "h": 61.818,
    "s": 75,
    "l": 17.255
  },
  "oklch": {
    "l": 0.40543,
    "c": 0.08326,
    "h": 111.4
  },
  "luminance": 0.06828
}

Semantic roles & 50–950 ramp

primary
#4B4D0B
secondary
#2E2B89
accent
#36F23C
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0A0902
muted
#7C7B78

Preview Lab

Preview with #4B4D0B

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

Preview Lab → · Contrast checker → · Palette generator →

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