#4B4D0F#4B4D0F

#4B4D0F is a dark, moderate yellow. Relative luminance 0.068; OKLCH L 40.6% C 0.081 H 111.4°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#4B4D0F
RGBrgb(75, 77, 15)
HSLhsl(62, 67%, 18%)
HSVhsv(62, 81%, 30%)
CMYKcmyk(2.6%, 0%, 80.5%, 69.8%)
CIE-LABlab(31.44, -9.42, 34.11)
CIE-LCHlch(31.44, 35.39, 105.44°)
OKLaboklab(40.57% -0.0294 0.0752)
OKLCHoklch(40.57% 0.081 111.4)
XYZxyz(5.6419, 6.8382, 1.4746)
Luminance0.0684 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B4D0F #110F4D
analogous
#4D300F #4B4D0F #2C4D0F
triadic
#4B4D0F #0F4B4D #4D0F4B
tetradic
#4B4D0F #0F4D30 #110F4D #4D0F2C
square
#4B4D0F #0F4D30 #110F4D #4D0F2C
split-complementary
#4B4D0F #0F2C4D #300F4D
monochromatic
#191A05 #191A05 #4B4D0F #7D8019 #AFB323

Accessibility & contrast

On white

8.87
#4B4D0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B4D0F
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B4D0F#FFFFFF#000000##FFFFFF
##4B4D0F1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544904
Deuteranopia (green-blind)
#544B14
Tritanopia (blue-blind)
#514841
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4b4d0f;
/* rgb */ color: rgb(75, 77, 15);
/* oklch */ color: oklch(40.6% 0.081 111.4);
Tailwind
colors: {
  custom: {
    50: '#807e53',
    500: '#4b4d0f',
    950: '#000000',
  },
}
SCSS
$custom: #4b4d0f;
$custom-light: #807e53;
$custom-dark: #000000;
JSON
{
  "hex": "#4b4d0f",
  "rgb": {
    "r": 75,
    "g": 77,
    "b": 15
  },
  "hsl": {
    "h": 61.935,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.4057,
    "c": 0.08079,
    "h": 111.4
  },
  "luminance": 0.06838
}

Semantic roles & 50–950 ramp

primary
#4B4D0F
secondary
#333187
accent
#3EEA43
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0A0902
muted
#7C7B78

Preview Lab

Preview with #4B4D0F

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

Preview Lab → · Contrast checker → · Palette generator →

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