#48501F#48501F

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

Color values

HEX#48501F
RGBrgb(72, 80, 31)
HSLhsl(70, 44%, 22%)
HSVhsv(70, 61%, 31%)
CMYKcmyk(10%, 0%, 61.2%, 68.6%)
CIE-LABlab(32.29, -11.42, 27.31)
CIE-LCHlch(32.29, 29.60, 112.70°)
OKLaboklab(41.23% -0.033 0.0637)
OKLCHoklch(41.23% 0.072 117.4)
XYZxyz(5.7886, 7.2140, 2.3836)
Luminance0.0721 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48501F #271F50
analogous
#50401F #48501F #30501F
triadic
#48501F #1F4850 #501F48
tetradic
#48501F #1F5040 #271F50 #501F30
square
#48501F #1F5040 #271F50 #501F30
split-complementary
#48501F #1F3050 #401F50
monochromatic
#141609 #20240E #48501F #707C30 #97A841

Accessibility & contrast

On white

8.60
#48501F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #48501F
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48501F#FFFFFF#000000##FFFFFF
##48501F1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554C1A
Deuteranopia (green-blind)
#544C22
Tritanopia (blue-blind)
#4C4C45
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #48501f;
/* rgb */ color: rgb(72, 80, 31);
/* oklch */ color: oklch(41.2% 0.072 117.4);
Tailwind
colors: {
  custom: {
    50: '#7c815c',
    500: '#48501f',
    950: '#000000',
  },
}
SCSS
$custom: #48501f;
$custom-light: #7c815c;
$custom-dark: #000000;
JSON
{
  "hex": "#48501f",
  "rgb": {
    "r": 72,
    "g": 80,
    "b": 31
  },
  "hsl": {
    "h": 69.796,
    "s": 44.144,
    "l": 21.765
  },
  "oklch": {
    "l": 0.41234,
    "c": 0.07169,
    "h": 117.4
  },
  "luminance": 0.07214
}

Semantic roles & 50–950 ramp

primary
#48501F
secondary
#504685
accent
#54D469
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #48501F

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

Preview Lab → · Contrast checker → · Palette generator →

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