#4B5315#4B5315

#4B5315 is a dark, moderate yellow. Relative luminance 0.077; OKLCH L 42.2% C 0.084 H 116.5°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#4B5315
RGBrgb(75, 83, 21)
HSLhsl(68, 60%, 20%)
HSVhsv(68, 75%, 33%)
CMYKcmyk(9.6%, 0%, 74.7%, 67.5%)
CIE-LABlab(33.43, -12.53, 33.53)
CIE-LCHlch(33.43, 35.80, 110.50°)
OKLaboklab(42.18% -0.0375 0.0752)
OKLCHoklch(42.18% 0.084 116.5)
XYZxyz(6.1304, 7.7366, 1.8797)
Luminance0.0774 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B5315 #1D1553
analogous
#533C15 #4B5315 #2C5315
triadic
#4B5315 #154B53 #53154B
tetradic
#4B5315 #15533C #1D1553 #53152C
square
#4B5315 #15533C #1D1553 #53152C
split-complementary
#4B5315 #152C53 #3C1553
monochromatic
#161806 #1F2209 #4B5315 #778421 #A3B52E

Accessibility & contrast

On white

8.24
#4B5315 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#4B5315 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B5315
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B5315#FFFFFF#000000##FFFFFF
##4B53151.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E0B
Deuteranopia (green-blind)
#584F1A
Tritanopia (blue-blind)
#504E47
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4b5315;
/* rgb */ color: rgb(75, 83, 21);
/* oklch */ color: oklch(42.2% 0.084 116.5);
Tailwind
colors: {
  custom: {
    50: '#7f8357',
    500: '#4b5315',
    950: '#000000',
  },
}
SCSS
$custom: #4b5315;
$custom-light: #7f8357;
$custom-dark: #000000;
JSON
{
  "hex": "#4b5315",
  "rgb": {
    "r": 75,
    "g": 83,
    "b": 21
  },
  "hsl": {
    "h": 67.742,
    "s": 59.615,
    "l": 20.392
  },
  "oklch": {
    "l": 0.4218,
    "c": 0.084,
    "h": 116.5
  },
  "luminance": 0.07737
}

Semantic roles & 50–950 ramp

primary
#4B5315
secondary
#44398B
accent
#45E359
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4B5315

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

Preview Lab → · Contrast checker → · Palette generator →

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