#4B4D0C#4B4D0C

#4B4D0C 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#4B4D0C
RGBrgb(75, 77, 12)
HSLhsl(62, 73%, 17%)
HSVhsv(62, 84%, 30%)
CMYKcmyk(2.6%, 0%, 84.4%, 69.8%)
CIE-LABlab(31.42, -9.57, 35.24)
CIE-LCHlch(31.42, 36.51, 105.19°)
OKLaboklab(40.55% -0.0302 0.077)
OKLCHoklch(40.55% 0.083 111.4)
XYZxyz(5.6221, 6.8303, 1.3700)
Luminance0.0683 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B4D0C #0E0C4D
analogous
#4D2E0C #4B4D0C #2B4D0C
triadic
#4B4D0C #0C4B4D #4D0C4B
tetradic
#4B4D0C #0C4D2E #0E0C4D #4D0C2B
square
#4B4D0C #0C4D2E #0E0C4D #4D0C2B
split-complementary
#4B4D0C #0C2B4D #2E0C4D
monochromatic
#1A1A04 #1A1A04 #4B4D0C #7F8214 #B2B71D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B4D0C#FFFFFF#000000##FFFFFF
##4B4D0C1.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)
#544B12
Tritanopia (blue-blind)
#514841
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4b4d0c;
/* rgb */ color: rgb(75, 77, 12);
/* oklch */ color: oklch(40.5% 0.083 111.4);
Tailwind
colors: {
  custom: {
    50: '#807e51',
    500: '#4b4d0c',
    950: '#000000',
  },
}
SCSS
$custom: #4b4d0c;
$custom-light: #807e51;
$custom-dark: #000000;
JSON
{
  "hex": "#4b4d0c",
  "rgb": {
    "r": 75,
    "g": 77,
    "b": 12
  },
  "hsl": {
    "h": 61.846,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.40549,
    "c": 0.08268,
    "h": 111.4
  },
  "luminance": 0.0683
}

Semantic roles & 50–950 ramp

primary
#4B4D0C
secondary
#2F2C89
accent
#38F03E
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0A0902
muted
#7C7B78

Preview Lab

Preview with #4B4D0C

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

Preview Lab → · Contrast checker → · Palette generator →

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