#4B500C#4B500C

#4B500C is a dark, moderate yellow. Relative luminance 0.073; OKLCH L 41.3% C 0.086 H 113.9°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#4B500C
RGBrgb(75, 80, 12)
HSLhsl(64, 74%, 18%)
HSVhsv(64, 85%, 31%)
CMYKcmyk(6.2%, 0%, 85%, 68.6%)
CIE-LABlab(32.39, -11.32, 36.12)
CIE-LCHlch(32.39, 37.85, 107.40°)
OKLaboklab(41.33% -0.035 0.0789)
OKLCHoklch(41.33% 0.086 113.9)
XYZxyz(5.8369, 7.2598, 1.4416)
Luminance0.0726 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B500C #110C50
analogous
#50330C #4B500C #29500C
triadic
#4B500C #0C4B50 #500C4B
tetradic
#4B500C #0C5033 #110C50 #500C29
square
#4B500C #0C5033 #110C50 #500C29
split-complementary
#4B500C #0C2950 #330C50
monochromatic
#191B04 #191B04 #4B500C #7D8514 #AFBA1C

Accessibility & contrast

On white

8.56
#4B500C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#4B500C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B500C
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B500C#FFFFFF#000000##FFFFFF
##4B500C1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C00
Deuteranopia (green-blind)
#564D12
Tritanopia (blue-blind)
#514B43
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4b500c;
/* rgb */ color: rgb(75, 80, 12);
/* oklch */ color: oklch(41.3% 0.086 113.9);
Tailwind
colors: {
  custom: {
    50: '#808052',
    500: '#4b500c',
    950: '#000000',
  },
}
SCSS
$custom: #4b500c;
$custom-light: #808052;
$custom-dark: #000000;
JSON
{
  "hex": "#4b500c",
  "rgb": {
    "r": 75,
    "g": 80,
    "b": 12
  },
  "hsl": {
    "h": 64.412,
    "s": 73.913,
    "l": 18.039
  },
  "oklch": {
    "l": 0.41329,
    "c": 0.08629,
    "h": 113.9
  },
  "luminance": 0.0726
}

Semantic roles & 50–950 ramp

primary
#4B500C
secondary
#332C8B
accent
#37F145
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0A0A02
muted
#7C7C78

Preview Lab

Preview with #4B500C

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

Preview Lab → · Contrast checker → · Palette generator →

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