#48510C#48510C

#48510C is a dark, moderate yellow. Relative luminance 0.073; OKLCH L 41.3% C 0.089 H 117.2°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#48510C
RGBrgb(72, 81, 12)
HSLhsl(68, 74%, 18%)
HSVhsv(68, 85%, 32%)
CMYKcmyk(11.1%, 0%, 85.2%, 68.2%)
CIE-LABlab(32.46, -13.37, 36.08)
CIE-LCHlch(32.46, 38.48, 110.33°)
OKLaboklab(41.32% -0.0405 0.0789)
OKLCHoklch(41.32% 0.089 117.2)
XYZxyz(5.6814, 7.2892, 1.4554)
Luminance0.0729 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48510C #150C51
analogous
#51370C #48510C #25510C
triadic
#48510C #0C4851 #510C48
tetradic
#48510C #0C5137 #150C51 #510C25
square
#48510C #0C5137 #150C51 #510C25
split-complementary
#48510C #0C2551 #370C51
monochromatic
#181B04 #191C04 #48510C #778614 #A7BC1C

Accessibility & contrast

On white

8.54
#48510C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#48510C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48510C
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48510C#FFFFFF#000000##FFFFFF
##48510C1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C00
Deuteranopia (green-blind)
#564D13
Tritanopia (blue-blind)
#4D4C44
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #48510c;
/* rgb */ color: rgb(72, 81, 12);
/* oklch */ color: oklch(41.3% 0.089 117.2);
Tailwind
colors: {
  custom: {
    50: '#7e8152',
    500: '#48510c',
    950: '#000000',
  },
}
SCSS
$custom: #48510c;
$custom-light: #7e8152;
$custom-dark: #000000;
JSON
{
  "hex": "#48510c",
  "rgb": {
    "r": 72,
    "g": 81,
    "b": 12
  },
  "hsl": {
    "h": 67.826,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.41316,
    "c": 0.08869,
    "h": 117.2
  },
  "luminance": 0.07289
}

Semantic roles & 50–950 ramp

primary
#48510C
secondary
#392C8C
accent
#37F14F
background
#F7F7F4
surface
#EEEEE7
border
#C9C9C3
text
#0A0A02
muted
#7C7C78

Preview Lab

Preview with #48510C

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

Preview Lab → · Contrast checker → · Palette generator →

#48510C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva