#48501B#48501B

#48501B is a dark, moderate yellow. Relative luminance 0.072; OKLCH L 41.2% C 0.076 H 117.1°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#48501B
RGBrgb(72, 80, 27)
HSLhsl(69, 50%, 21%)
HSVhsv(69, 66%, 31%)
CMYKcmyk(10%, 0%, 66.3%, 68.6%)
CIE-LABlab(32.24, -11.79, 29.35)
CIE-LCHlch(32.24, 31.63, 111.89°)
OKLaboklab(41.18% -0.0345 0.0675)
OKLCHoklch(41.18% 0.076 117.1)
XYZxyz(5.7391, 7.1942, 2.1230)
Luminance0.0719 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48501B #231B50
analogous
#503D1B #48501B #2D501B
triadic
#48501B #1B4850 #501B48
tetradic
#48501B #1B503D #231B50 #501B2D
square
#48501B #1B503D #231B50 #501B2D
split-complementary
#48501B #1B2D50 #3D1B50
monochromatic
#151708 #1F220C #48501B #717E2A #9AAC3A

Accessibility & contrast

On white

8.61
#48501B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#48501B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48501B
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48501B#FFFFFF#000000##FFFFFF
##48501B1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C15
Deuteranopia (green-blind)
#554C1E
Tritanopia (blue-blind)
#4D4B45
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #48501b;
/* rgb */ color: rgb(72, 80, 27);
/* oklch */ color: oklch(41.2% 0.076 117.1);
Tailwind
colors: {
  custom: {
    50: '#7d815a',
    500: '#48501b',
    950: '#000000',
  },
}
SCSS
$custom: #48501b;
$custom-light: #7d815a;
$custom-dark: #000000;
JSON
{
  "hex": "#48501b",
  "rgb": {
    "r": 72,
    "g": 80,
    "b": 27
  },
  "hsl": {
    "h": 69.057,
    "s": 49.533,
    "l": 20.98
  },
  "oklch": {
    "l": 0.41184,
    "c": 0.07577,
    "h": 117.1
  },
  "luminance": 0.07194
}

Semantic roles & 50–950 ramp

primary
#48501B
secondary
#4B4186
accent
#4FD964
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #48501B

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

Preview Lab → · Contrast checker → · Palette generator →

#48501B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva