#4B4F0C#4B4F0C

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

Color values

HEX#4B4F0C
RGBrgb(75, 79, 12)
HSLhsl(64, 74%, 18%)
HSVhsv(64, 85%, 31%)
CMYKcmyk(5.1%, 0%, 84.8%, 69%)
CIE-LABlab(32.07, -10.74, 35.83)
CIE-LCHlch(32.07, 37.40, 106.69°)
OKLaboklab(41.07% -0.0334 0.0782)
OKLCHoklch(41.07% 0.085 113.1)
XYZxyz(5.7642, 7.1145, 1.4173)
Luminance0.0711 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B4F0C #100C4F
analogous
#4F310C #4B4F0C #294F0C
triadic
#4B4F0C #0C4B4F #4F0C4B
tetradic
#4B4F0C #0C4F31 #100C4F #4F0C29
square
#4B4F0C #0C4F31 #100C4F #4F0C29
split-complementary
#4B4F0C #0C294F #310C4F
monochromatic
#191B04 #191B04 #4B4F0C #7D8414 #B0B91C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B4F0C#FFFFFF#000000##FFFFFF
##4B4F0C1.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)
#564B00
Deuteranopia (green-blind)
#564C12
Tritanopia (blue-blind)
#514A43
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4b4f0c;
/* rgb */ color: rgb(75, 79, 12);
/* oklch */ color: oklch(41.1% 0.085 113.1);
Tailwind
colors: {
  custom: {
    50: '#808052',
    500: '#4b4f0c',
    950: '#000000',
  },
}
SCSS
$custom: #4b4f0c;
$custom-light: #808052;
$custom-dark: #000000;
JSON
{
  "hex": "#4b4f0c",
  "rgb": {
    "r": 75,
    "g": 79,
    "b": 12
  },
  "hsl": {
    "h": 63.582,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.41069,
    "c": 0.08507,
    "h": 113.1
  },
  "luminance": 0.07114
}

Semantic roles & 50–950 ramp

primary
#4B4F0C
secondary
#322C8B
accent
#38F043
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0A0A02
muted
#7C7C78

Preview Lab

Preview with #4B4F0C

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

Preview Lab → · Contrast checker → · Palette generator →

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