#4B5211#4B5211

#4B5211 is a dark, moderate yellow. Relative luminance 0.076; OKLCH L 41.9% C 0.086 H 115.6°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#4B5211
RGBrgb(75, 82, 17)
HSLhsl(66, 66%, 19%)
HSVhsv(66, 79%, 32%)
CMYKcmyk(8.5%, 0%, 79.3%, 67.8%)
CIE-LABlab(33.07, -12.21, 34.87)
CIE-LCHlch(33.07, 36.95, 109.30°)
OKLaboklab(41.89% -0.037 0.0772)
OKLCHoklch(41.89% 0.086 115.6)
XYZxyz(6.0203, 7.5710, 1.6744)
Luminance0.0757 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B5211 #181152
analogous
#523911 #4B5211 #2A5211
triadic
#4B5211 #114B52 #52114B
tetradic
#4B5211 #115239 #181152 #52112A
square
#4B5211 #115239 #181152 #52112A
split-complementary
#4B5211 #112A52 #391152
monochromatic
#171905 #1D1F06 #4B5211 #79851C #A8B726

Accessibility & contrast

On white

8.35
#4B5211 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4B5211 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B5211
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B5211#FFFFFF#000000##FFFFFF
##4B52111.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D05
Deuteranopia (green-blind)
#584E16
Tritanopia (blue-blind)
#504D45
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4b5211;
/* rgb */ color: rgb(75, 82, 17);
/* oklch */ color: oklch(41.9% 0.086 115.6);
Tailwind
colors: {
  custom: {
    50: '#808254',
    500: '#4b5211',
    950: '#000000',
  },
}
SCSS
$custom: #4b5211;
$custom-light: #808254;
$custom-dark: #000000;
JSON
{
  "hex": "#4b5211",
  "rgb": {
    "r": 75,
    "g": 82,
    "b": 17
  },
  "hsl": {
    "h": 66.462,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.41886,
    "c": 0.08564,
    "h": 115.6
  },
  "luminance": 0.07571
}

Semantic roles & 50–950 ramp

primary
#4B5211
secondary
#3D348B
accent
#3FE951
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4B5211

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

Preview Lab → · Contrast checker → · Palette generator →

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