#4B520E#4B520E

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

Color values

HEX#4B520E
RGBrgb(75, 82, 14)
HSLhsl(66, 71%, 19%)
HSVhsv(66, 83%, 32%)
CMYKcmyk(8.5%, 0%, 82.9%, 67.8%)
CIE-LABlab(33.05, -12.37, 36.01)
CIE-LCHlch(33.05, 38.08, 108.96°)
OKLaboklab(41.87% -0.0377 0.079)
OKLCHoklch(41.87% 0.088 115.5)
XYZxyz(5.9984, 7.5622, 1.5591)
Luminance0.0756 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B520E #150E52
analogous
#52370E #4B520E #29520E
triadic
#4B520E #0E4B52 #520E4B
tetradic
#4B520E #0E5237 #150E52 #520E29
square
#4B520E #0E5237 #150E52 #520E29
split-complementary
#4B520E #0E2952 #370E52
monochromatic
#181A04 #1B1E05 #4B520E #7B8617 #ABBB20

Accessibility & contrast

On white

8.36
#4B520E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B520E
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B520E#FFFFFF#000000##FFFFFF
##4B520E1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b520e;
/* rgb */ color: rgb(75, 82, 14);
/* oklch */ color: oklch(41.9% 0.088 115.5);
Tailwind
colors: {
  custom: {
    50: '#808253',
    500: '#4b520e',
    950: '#000000',
  },
}
SCSS
$custom: #4b520e;
$custom-light: #808253;
$custom-dark: #000000;
JSON
{
  "hex": "#4b520e",
  "rgb": {
    "r": 75,
    "g": 82,
    "b": 14
  },
  "hsl": {
    "h": 66.176,
    "s": 70.833,
    "l": 18.824
  },
  "oklch": {
    "l": 0.41865,
    "c": 0.08759,
    "h": 115.5
  },
  "luminance": 0.07562
}

Semantic roles & 50–950 ramp

primary
#4B520E
secondary
#392F8C
accent
#3AEE4D
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4B520E

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

Preview Lab → · Contrast checker → · Palette generator →

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