#4B5213#4B5213

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

Color values

HEX#4B5213
RGBrgb(75, 82, 19)
HSLhsl(67, 62%, 20%)
HSVhsv(67, 77%, 32%)
CMYKcmyk(8.5%, 0%, 76.8%, 67.8%)
CIE-LABlab(33.09, -12.09, 34.06)
CIE-LCHlch(33.09, 36.14, 109.55°)
OKLaboklab(41.9% -0.0365 0.0759)
OKLCHoklch(41.9% 0.084 115.6)
XYZxyz(6.0366, 7.5776, 1.7606)
Luminance0.0758 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B5213 #1A1352
analogous
#523A13 #4B5213 #2B5213
triadic
#4B5213 #134B52 #52134B
tetradic
#4B5213 #13523A #1A1352 #52132B
square
#4B5213 #13523A #1A1352 #52132B
split-complementary
#4B5213 #132B52 #3A1352
monochromatic
#171906 #1E2007 #4B5213 #78841F #A6B52A

Accessibility & contrast

On white

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

On black

2.52
#4B5213 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4B5213#FFFFFF#000000##FFFFFF
##4B52131.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D08
Deuteranopia (green-blind)
#584E18
Tritanopia (blue-blind)
#504D46
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4b5213;
/* rgb */ color: rgb(75, 82, 19);
/* oklch */ color: oklch(41.9% 0.084 115.6);
Tailwind
colors: {
  custom: {
    50: '#7f8256',
    500: '#4b5213',
    950: '#000000',
  },
}
SCSS
$custom: #4b5213;
$custom-light: #7f8256;
$custom-dark: #000000;
JSON
{
  "hex": "#4b5213",
  "rgb": {
    "r": 75,
    "g": 82,
    "b": 19
  },
  "hsl": {
    "h": 66.667,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.41902,
    "c": 0.08422,
    "h": 115.6
  },
  "luminance": 0.07577
}

Semantic roles & 50–950 ramp

primary
#4B5213
secondary
#40368A
accent
#42E554
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4B5213

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

Preview Lab → · Contrast checker → · Palette generator →

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