#4B511F#4B511F

#4B511F is a dark, moderate yellow. Relative luminance 0.075; OKLCH L 41.8% C 0.072 H 115.3°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#4B511F
RGBrgb(75, 81, 31)
HSLhsl(67, 45%, 22%)
HSVhsv(67, 62%, 32%)
CMYKcmyk(7.4%, 0%, 61.7%, 68.2%)
CIE-LABlab(32.87, -10.57, 28.04)
CIE-LCHlch(32.87, 29.97, 110.66°)
OKLaboklab(41.77% -0.0308 0.0652)
OKLCHoklch(41.77% 0.072 115.3)
XYZxyz(6.0915, 7.4797, 2.4189)
Luminance0.0748 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B511F #251F51
analogous
#513E1F #4B511F #32511F
triadic
#4B511F #1F4B51 #511F4B
tetradic
#4B511F #1F513E #251F51 #511F32
square
#4B511F #1F513E #251F51 #511F32
split-complementary
#4B511F #1F3251 #3E1F51
monochromatic
#141608 #22250E #4B511F #747D30 #9DAA41

Accessibility & contrast

On white

8.41
#4B511F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#4B511F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B511F
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B511F#FFFFFF#000000##FFFFFF
##4B511F1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D1A
Deuteranopia (green-blind)
#564E22
Tritanopia (blue-blind)
#504C46
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4b511f;
/* rgb */ color: rgb(75, 81, 31);
/* oklch */ color: oklch(41.8% 0.072 115.3);
Tailwind
colors: {
  custom: {
    50: '#7f815d',
    500: '#4b511f',
    950: '#000000',
  },
}
SCSS
$custom: #4b511f;
$custom-light: #7f815d;
$custom-dark: #000000;
JSON
{
  "hex": "#4b511f",
  "rgb": {
    "r": 75,
    "g": 81,
    "b": 31
  },
  "hsl": {
    "h": 67.2,
    "s": 44.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.41768,
    "c": 0.07209,
    "h": 115.3
  },
  "luminance": 0.0748
}

Semantic roles & 50–950 ramp

primary
#4B511F
secondary
#4E4686
accent
#53D463
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4B511F

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

Preview Lab → · Contrast checker → · Palette generator →

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