#4B5215#4B5215

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

Color values

HEX#4B5215
RGBrgb(75, 82, 21)
HSLhsl(67, 59%, 20%)
HSVhsv(67, 74%, 32%)
CMYKcmyk(8.5%, 0%, 74.4%, 67.8%)
CIE-LABlab(33.10, -11.96, 33.20)
CIE-LCHlch(33.10, 35.29, 109.81°)
OKLaboklab(41.92% -0.0359 0.0745)
OKLCHoklch(41.92% 0.083 115.7)
XYZxyz(6.0544, 7.5847, 1.8544)
Luminance0.0759 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B5215 #1C1552
analogous
#523A15 #4B5215 #2D5215
triadic
#4B5215 #154B52 #52154B
tetradic
#4B5215 #15523A #1C1552 #52152D
square
#4B5215 #15523A #1C1552 #52152D
split-complementary
#4B5215 #152D52 #3A1552
monochromatic
#161806 #1E2109 #4B5215 #788321 #A4B32E

Accessibility & contrast

On white

8.34
#4B5215 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B5215
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B5215#FFFFFF#000000##FFFFFF
##4B52151.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b5215;
/* rgb */ color: rgb(75, 82, 21);
/* oklch */ color: oklch(41.9% 0.083 115.7);
Tailwind
colors: {
  custom: {
    50: '#7f8257',
    500: '#4b5215',
    950: '#000000',
  },
}
SCSS
$custom: #4b5215;
$custom-light: #7f8257;
$custom-dark: #000000;
JSON
{
  "hex": "#4b5215",
  "rgb": {
    "r": 75,
    "g": 82,
    "b": 21
  },
  "hsl": {
    "h": 66.885,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.41919,
    "c": 0.08268,
    "h": 115.7
  },
  "luminance": 0.07585
}

Semantic roles & 50–950 ramp

primary
#4B5215
secondary
#42398A
accent
#45E257
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4B5215

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

Preview Lab → · Contrast checker → · Palette generator →

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