#B48D17#B48D17

#B48D17 is a light, vivid yellow. Relative luminance 0.288; OKLCH L 66.2% C 0.130 H 87.9°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#B48D17
RGBrgb(180, 141, 23)
HSLhsl(45, 77%, 40%)
HSVhsv(45, 87%, 71%)
CMYKcmyk(0%, 21.7%, 87.2%, 29.4%)
CIE-LABlab(60.62, 4.42, 61.10)
CIE-LCHlch(60.62, 61.26, 85.86°)
OKLaboklab(66.22% 0.0048 0.1297)
OKLCHoklch(66.22% 0.13 87.9)
XYZxyz(28.5038, 28.8169, 4.8714)
Luminance0.2882 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B48D17 #173EB4
analogous
#B43F17 #B48D17 #8CB417
triadic
#B48D17 #17B48D #8D17B4
tetradic
#B48D17 #17B43F #173EB4 #B4178C
square
#B48D17 #17B43F #173EB4 #B4178C
split-complementary
#B48D17 #178CB4 #3F17B4
monochromatic
#473809 #7E6210 #B48D17 #E3B425 #EAC75B

Accessibility & contrast

On white

3.11
#B48D17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#B48D17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B48D17
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B48D17#FFFFFF#000000##000000
##B48D171.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#A99720
Tritanopia (blue-blind)
#C47F78
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b48d17;
/* rgb */ color: rgb(180, 141, 23);
/* oklch */ color: oklch(66.2% 0.130 87.9);
Tailwind
colors: {
  custom: {
    50: '#d0ad63',
    500: '#b48d17',
    950: '#000000',
  },
}
SCSS
$custom: #b48d17;
$custom-light: #d0ad63;
$custom-dark: #000000;
JSON
{
  "hex": "#b48d17",
  "rgb": {
    "r": 180,
    "g": 141,
    "b": 23
  },
  "hsl": {
    "h": 45.096,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.66217,
    "c": 0.12978,
    "h": 87.9
  },
  "luminance": 0.28815
}

Semantic roles & 50–950 ramp

primary
#B48D17
secondary
#5976CE
accent
#64F434
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#151006
muted
#837F7A

Preview Lab

Preview with #B48D17

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

Preview Lab → · Contrast checker → · Palette generator →

#B48D17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva