#4B4E1F#4B4E1F

#4B4E1F is a dark, moderate yellow. Relative luminance 0.070; OKLCH L 41.0% C 0.068 H 112.4°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#4B4E1F
RGBrgb(75, 78, 31)
HSLhsl(64, 43%, 21%)
HSVhsv(64, 60%, 31%)
CMYKcmyk(3.8%, 0%, 60.3%, 69.4%)
CIE-LABlab(31.91, -8.82, 26.94)
CIE-LCHlch(31.91, 28.35, 108.12°)
OKLaboklab(40.99% -0.0258 0.0628)
OKLCHoklch(40.99% 0.068 112.4)
XYZxyz(5.8735, 7.0437, 2.3462)
Luminance0.0704 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B4E1F #221F4E
analogous
#4E3A1F #4B4E1F #344E1F
triadic
#4B4E1F #1F4B4E #4E1F4B
tetradic
#4B4E1F #1F4E3A #221F4E #4E1F34
square
#4B4E1F #1F4E3A #221F4E #4E1F34
split-complementary
#4B4E1F #1F344E #3A1F4E
monochromatic
#151609 #21220E #4B4E1F #757A30 #9FA642

Accessibility & contrast

On white

8.72
#4B4E1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#4B4E1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B4E1F
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B4E1F#FFFFFF#000000##FFFFFF
##4B4E1F1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A1A
Deuteranopia (green-blind)
#544C22
Tritanopia (blue-blind)
#504944
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4b4e1f;
/* rgb */ color: rgb(75, 78, 31);
/* oklch */ color: oklch(41.0% 0.068 112.4);
Tailwind
colors: {
  custom: {
    50: '#7f7f5c',
    500: '#4b4e1f',
    950: '#000000',
  },
}
SCSS
$custom: #4b4e1f;
$custom-light: #7f7f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#4b4e1f",
  "rgb": {
    "r": 75,
    "g": 78,
    "b": 31
  },
  "hsl": {
    "h": 63.83,
    "s": 43.119,
    "l": 21.373
  },
  "oklch": {
    "l": 0.40993,
    "c": 0.0679,
    "h": 112.4
  },
  "luminance": 0.07044
}

Semantic roles & 50–950 ramp

primary
#4B4E1F
secondary
#4A4683
accent
#55D35D
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4B4E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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