#4B500F#4B500F

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

Color values

HEX#4B500F
RGBrgb(75, 80, 15)
HSLhsl(65, 68%, 19%)
HSVhsv(65, 81%, 31%)
CMYKcmyk(6.2%, 0%, 81.3%, 68.6%)
CIE-LABlab(32.41, -11.17, 35.03)
CIE-LCHlch(32.41, 36.77, 107.69°)
OKLaboklab(41.35% -0.0343 0.0772)
OKLCHoklch(41.35% 0.084 114)
XYZxyz(5.8567, 7.2678, 1.5461)
Luminance0.0727 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B500F #140F50
analogous
#50340F #4B500F #2A500F
triadic
#4B500F #0F4B50 #500F4B
tetradic
#4B500F #0F5034 #140F50 #500F2A
square
#4B500F #0F5034 #140F50 #500F2A
split-complementary
#4B500F #0F2A50 #340F50
monochromatic
#181A05 #1B1C05 #4B500F #7B8419 #ACB722

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B500F#FFFFFF#000000##FFFFFF
##4B500F1.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)
#564C03
Deuteranopia (green-blind)
#564D14
Tritanopia (blue-blind)
#514B44
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4b500f;
/* rgb */ color: rgb(75, 80, 15);
/* oklch */ color: oklch(41.3% 0.084 114.0);
Tailwind
colors: {
  custom: {
    50: '#808053',
    500: '#4b500f',
    950: '#000000',
  },
}
SCSS
$custom: #4b500f;
$custom-light: #808053;
$custom-dark: #000000;
JSON
{
  "hex": "#4b500f",
  "rgb": {
    "r": 75,
    "g": 80,
    "b": 15
  },
  "hsl": {
    "h": 64.615,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.41349,
    "c": 0.08445,
    "h": 114
  },
  "luminance": 0.07268
}

Semantic roles & 50–950 ramp

primary
#4B500F
secondary
#38318A
accent
#3DEB4A
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4B500F

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

Preview Lab → · Contrast checker → · Palette generator →

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