#48520F#48520F

#48520F is a dark, moderate yellow. Relative luminance 0.074; OKLCH L 41.6% C 0.088 H 118.0°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#48520F
RGBrgb(72, 82, 15)
HSLhsl(69, 69%, 19%)
HSVhsv(69, 82%, 32%)
CMYKcmyk(12.2%, 0%, 81.7%, 67.8%)
CIE-LABlab(32.80, -13.78, 35.31)
CIE-LCHlch(32.80, 37.91, 111.32°)
OKLaboklab(41.6% -0.0413 0.0779)
OKLCHoklch(41.6% 0.088 118)
XYZxyz(5.7761, 7.4469, 1.5849)
Luminance0.0745 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48520F #190F52
analogous
#523B0F #48520F #27520F
triadic
#48520F #0F4852 #520F48
tetradic
#48520F #0F523B #190F52 #520F27
square
#48520F #0F523B #190F52 #520F27
split-complementary
#48520F #0F2752 #3B0F52
monochromatic
#171A05 #1B1E06 #48520F #758618 #A3B922

Accessibility & contrast

On white

8.44
#48520F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#48520F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48520F
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48520F#FFFFFF#000000##FFFFFF
##48520F1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D02
Deuteranopia (green-blind)
#574D15
Tritanopia (blue-blind)
#4D4D45
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #48520f;
/* rgb */ color: rgb(72, 82, 15);
/* oklch */ color: oklch(41.6% 0.088 118.0);
Tailwind
colors: {
  custom: {
    50: '#7d8253',
    500: '#48520f',
    950: '#000000',
  },
}
SCSS
$custom: #48520f;
$custom-light: #7d8253;
$custom-dark: #000000;
JSON
{
  "hex": "#48520f",
  "rgb": {
    "r": 72,
    "g": 82,
    "b": 15
  },
  "hsl": {
    "h": 68.955,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.41601,
    "c": 0.08818,
    "h": 118
  },
  "luminance": 0.07447
}

Semantic roles & 50–950 ramp

primary
#48520F
secondary
#3E318C
accent
#3CEC56
background
#F7F7F4
surface
#EEEEE8
border
#C9C9C4
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #48520F

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

Preview Lab → · Contrast checker → · Palette generator →

#48520F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva