#B48F17#B48F17

#B48F17 is a light, vivid yellow. Relative luminance 0.294; OKLCH L 66.6% C 0.131 H 89.3°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#B48F17
RGBrgb(180, 143, 23)
HSLhsl(46, 77%, 40%)
HSVhsv(46, 87%, 71%)
CMYKcmyk(0%, 20.6%, 87.2%, 29.4%)
CIE-LABlab(61.14, 3.32, 61.53)
CIE-LCHlch(61.14, 61.62, 86.91°)
OKLaboklab(66.63% 0.0016 0.1306)
OKLCHoklch(66.63% 0.131 89.3)
XYZxyz(28.8014, 29.4121, 4.9706)
Luminance0.2941 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B48F17 #173CB4
analogous
#B44117 #B48F17 #8AB417
triadic
#B48F17 #17B48F #8F17B4
tetradic
#B48F17 #17B441 #173CB4 #B4178A
square
#B48F17 #17B441 #173CB4 #B4178A
split-complementary
#B48F17 #178AB4 #4117B4
monochromatic
#473909 #7E6410 #B48F17 #E3B625 #EAC85B

Accessibility & contrast

On white

3.05
#B48F17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#B48F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B48F17
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B48F17#FFFFFF#000000##000000
##B48F171.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E00
Deuteranopia (green-blind)
#AA9820
Tritanopia (blue-blind)
#C4817A
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b48f17;
/* rgb */ color: rgb(180, 143, 23);
/* oklch */ color: oklch(66.6% 0.131 89.3);
Tailwind
colors: {
  custom: {
    50: '#cfaf63',
    500: '#b48f17',
    950: '#000000',
  },
}
SCSS
$custom: #b48f17;
$custom-light: #cfaf63;
$custom-dark: #000000;
JSON
{
  "hex": "#b48f17",
  "rgb": {
    "r": 180,
    "g": 143,
    "b": 23
  },
  "hsl": {
    "h": 45.86,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.6663,
    "c": 0.13065,
    "h": 89.3
  },
  "luminance": 0.2941
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B48F17

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

Preview Lab → · Contrast checker → · Palette generator →

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