#48420F#48420F

#48420F is a dark, moderate yellow. Relative luminance 0.053; OKLCH L 37.4% C 0.069 H 102.5°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#48420F
RGBrgb(72, 66, 15)
HSLhsl(54, 66%, 17%)
HSVhsv(54, 79%, 28%)
CMYKcmyk(0%, 8.3%, 79.2%, 71.8%)
CIE-LABlab(27.60, -4.30, 30.31)
CIE-LCHlch(27.60, 30.61, 98.08°)
OKLaboklab(37.44% -0.0149 0.0673)
OKLCHoklch(37.44% 0.069 102.5)
XYZxyz(4.7071, 5.3088, 1.2286)
Luminance0.0531 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48420F #0F1548
analogous
#48260F #48420F #32480F
triadic
#48420F #0F4842 #420F48
tetradic
#48420F #0F4826 #0F1548 #480F32
square
#48420F #0F4826 #0F1548 #480F32
split-complementary
#48420F #0F3248 #260F48
monochromatic
#191705 #191705 #48420F #7B701A #AD9F24

Accessibility & contrast

On white

10.19
#48420F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#48420F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48420F
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48420F#FFFFFF#000000##FFFFFF
##48420F1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494007
Deuteranopia (green-blind)
#4B4212
Tritanopia (blue-blind)
#4E3D38
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #48420f;
/* rgb */ color: rgb(72, 66, 15);
/* oklch */ color: oklch(37.4% 0.069 102.5);
Tailwind
colors: {
  custom: {
    50: '#7d7651',
    500: '#48420f',
    950: '#000000',
  },
}
SCSS
$custom: #48420f;
$custom-light: #7d7651;
$custom-dark: #000000;
JSON
{
  "hex": "#48420f",
  "rgb": {
    "r": 72,
    "g": 66,
    "b": 15
  },
  "hsl": {
    "h": 53.684,
    "s": 65.517,
    "l": 17.059
  },
  "oklch": {
    "l": 0.37437,
    "c": 0.06894,
    "h": 102.5
  },
  "luminance": 0.05309
}

Semantic roles & 50–950 ramp

primary
#48420F
secondary
#303982
accent
#51E83F
background
#F7F7F4
surface
#EEEDE7
border
#C9C8C3
text
#0A0802
muted
#7C7B78

Preview Lab

Preview with #48420F

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

Preview Lab → · Contrast checker → · Palette generator →

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