#4B520F#4B520F

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

Color values

HEX#4B520F
RGBrgb(75, 82, 15)
HSLhsl(66, 69%, 19%)
HSVhsv(66, 82%, 32%)
CMYKcmyk(8.5%, 0%, 81.7%, 67.8%)
CIE-LABlab(33.06, -12.32, 35.64)
CIE-LCHlch(33.06, 37.71, 109.07°)
OKLaboklab(41.87% -0.0375 0.0785)
OKLCHoklch(41.87% 0.087 115.5)
XYZxyz(6.0053, 7.5650, 1.5957)
Luminance0.0756 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B520F #160F52
analogous
#52380F #4B520F #2A520F
triadic
#4B520F #0F4B52 #520F4B
tetradic
#4B520F #0F5238 #160F52 #520F2A
square
#4B520F #0F5238 #160F52 #520F2A
split-complementary
#4B520F #0F2A52 #380F52
monochromatic
#181A05 #1C1E06 #4B520F #7A8618 #AAB922

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B520F#FFFFFF#000000##FFFFFF
##4B520F1.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)
#584D02
Deuteranopia (green-blind)
#584E15
Tritanopia (blue-blind)
#504D45
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4b520f;
/* rgb */ color: rgb(75, 82, 15);
/* oklch */ color: oklch(41.9% 0.087 115.5);
Tailwind
colors: {
  custom: {
    50: '#808253',
    500: '#4b520f',
    950: '#000000',
  },
}
SCSS
$custom: #4b520f;
$custom-light: #808253;
$custom-dark: #000000;
JSON
{
  "hex": "#4b520f",
  "rgb": {
    "r": 75,
    "g": 82,
    "b": 15
  },
  "hsl": {
    "h": 66.269,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.41871,
    "c": 0.08697,
    "h": 115.5
  },
  "luminance": 0.07565
}

Semantic roles & 50–950 ramp

primary
#4B520F
secondary
#3A318C
accent
#3CEC4E
background
#F8F7F4
surface
#EFEEE8
border
#CAC9C4
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4B520F

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

Preview Lab → · Contrast checker → · Palette generator →

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