#48510F#48510F

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

Color values

HEX#48510F
RGBrgb(72, 81, 15)
HSLhsl(68, 69%, 19%)
HSVhsv(68, 81%, 32%)
CMYKcmyk(11.1%, 0%, 81.5%, 68.2%)
CIE-LABlab(32.47, -13.21, 35.00)
CIE-LCHlch(32.47, 37.41, 110.68°)
OKLaboklab(41.34% -0.0398 0.0772)
OKLCHoklch(41.34% 0.087 117.3)
XYZxyz(5.7013, 7.2971, 1.5600)
Luminance0.0730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48510F #180F51
analogous
#51390F #48510F #27510F
triadic
#48510F #0F4851 #510F48
tetradic
#48510F #0F5139 #180F51 #510F27
square
#48510F #0F5139 #180F51 #510F27
split-complementary
#48510F #0F2751 #390F51
monochromatic
#171A05 #1A1D05 #48510F #768519 #A4B822

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##48510F#FFFFFF#000000##FFFFFF
##48510F1.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)
#574C03
Deuteranopia (green-blind)
#564D15
Tritanopia (blue-blind)
#4D4C44
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #48510f;
/* rgb */ color: rgb(72, 81, 15);
/* oklch */ color: oklch(41.3% 0.087 117.3);
Tailwind
colors: {
  custom: {
    50: '#7d8153',
    500: '#48510f',
    950: '#000000',
  },
}
SCSS
$custom: #48510f;
$custom-light: #7d8153;
$custom-dark: #000000;
JSON
{
  "hex": "#48510f",
  "rgb": {
    "r": 72,
    "g": 81,
    "b": 15
  },
  "hsl": {
    "h": 68.182,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.41336,
    "c": 0.08686,
    "h": 117.3
  },
  "luminance": 0.07297
}

Semantic roles & 50–950 ramp

primary
#48510F
secondary
#3D318B
accent
#3CEC54
background
#F7F7F4
surface
#EEEEE8
border
#C9C9C4
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #48510F

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

Preview Lab → · Contrast checker → · Palette generator →

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