#4B4F0F#4B4F0F

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

Color values

HEX#4B4F0F
RGBrgb(75, 79, 15)
HSLhsl(64, 68%, 18%)
HSVhsv(64, 81%, 31%)
CMYKcmyk(5.1%, 0%, 81%, 69%)
CIE-LABlab(32.08, -10.59, 34.73)
CIE-LCHlch(32.08, 36.31, 106.96°)
OKLaboklab(41.09% -0.0327 0.0765)
OKLCHoklch(41.09% 0.083 113.1)
XYZxyz(5.7840, 7.1224, 1.5219)
Luminance0.0712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B4F0F #130F4F
analogous
#4F330F #4B4F0F #2B4F0F
triadic
#4B4F0F #0F4B4F #4F0F4B
tetradic
#4B4F0F #0F4F33 #130F4F #4F0F2B
square
#4B4F0F #0F4F33 #130F4F #4F0F2B
split-complementary
#4B4F0F #0F2B4F #330F4F
monochromatic
#181A05 #1A1C05 #4B4F0F #7C8219 #ADB623

Accessibility & contrast

On white

8.66
#4B4F0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B4F0F
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B4F0F#FFFFFF#000000##FFFFFF
##4B4F0F1.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B03
Deuteranopia (green-blind)
#564C14
Tritanopia (blue-blind)
#514A43
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4b4f0f;
/* rgb */ color: rgb(75, 79, 15);
/* oklch */ color: oklch(41.1% 0.083 113.1);
Tailwind
colors: {
  custom: {
    50: '#808053',
    500: '#4b4f0f',
    950: '#000000',
  },
}
SCSS
$custom: #4b4f0f;
$custom-light: #808053;
$custom-dark: #000000;
JSON
{
  "hex": "#4b4f0f",
  "rgb": {
    "r": 75,
    "g": 79,
    "b": 15
  },
  "hsl": {
    "h": 63.75,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.41089,
    "c": 0.08322,
    "h": 113.1
  },
  "luminance": 0.07122
}

Semantic roles & 50–950 ramp

primary
#4B4F0F
secondary
#363189
accent
#3DEB48
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4B4F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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