#B48E17#B48E17

#B48E17 is a light, vivid yellow. Relative luminance 0.291; OKLCH L 66.4% C 0.130 H 88.6°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#B48E17
RGBrgb(180, 142, 23)
HSLhsl(45, 77%, 40%)
HSVhsv(45, 87%, 71%)
CMYKcmyk(0%, 21.1%, 87.2%, 29.4%)
CIE-LABlab(60.88, 3.87, 61.31)
CIE-LCHlch(60.88, 61.44, 86.39°)
OKLaboklab(66.42% 0.0032 0.1302)
OKLCHoklch(66.42% 0.13 88.6)
XYZxyz(28.6519, 29.1132, 4.9208)
Luminance0.2911 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B48E17 #173DB4
analogous
#B44017 #B48E17 #8BB417
triadic
#B48E17 #17B48E #8E17B4
tetradic
#B48E17 #17B440 #173DB4 #B4178B
square
#B48E17 #17B440 #173DB4 #B4178B
split-complementary
#B48E17 #178BB4 #4017B4
monochromatic
#473809 #7E6310 #B48E17 #E3B525 #EAC85B

Accessibility & contrast

On white

3.08
#B48E17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#B48E17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B48E17
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B48E17#FFFFFF#000000##000000
##B48E171.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#A99720
Tritanopia (blue-blind)
#C48079
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b48e17;
/* rgb */ color: rgb(180, 142, 23);
/* oklch */ color: oklch(66.4% 0.130 88.6);
Tailwind
colors: {
  custom: {
    50: '#cfae63',
    500: '#b48e17',
    950: '#000000',
  },
}
SCSS
$custom: #b48e17;
$custom-light: #cfae63;
$custom-dark: #000000;
JSON
{
  "hex": "#b48e17",
  "rgb": {
    "r": 180,
    "g": 142,
    "b": 23
  },
  "hsl": {
    "h": 45.478,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.66423,
    "c": 0.13021,
    "h": 88.6
  },
  "luminance": 0.29111
}

Semantic roles & 50–950 ramp

primary
#B48E17
secondary
#5975CE
accent
#62F434
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#151006
muted
#837F7A

Preview Lab

Preview with #B48E17

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

Preview Lab → · Contrast checker → · Palette generator →

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