#B48F16#B48F16

#B48F16 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#B48F16
RGBrgb(180, 143, 22)
HSLhsl(46, 78%, 40%)
HSVhsv(46, 88%, 71%)
CMYKcmyk(0%, 20.6%, 87.8%, 29.4%)
CIE-LABlab(61.14, 3.30, 61.77)
CIE-LCHlch(61.14, 61.86, 86.94°)
OKLaboklab(66.63% 0.0015 0.131)
OKLCHoklch(66.63% 0.131 89.3)
XYZxyz(28.7915, 29.4081, 4.9188)
Luminance0.2941 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B48F16 #163BB4
analogous
#B44016 #B48F16 #8AB416
triadic
#B48F16 #16B48F #8F16B4
tetradic
#B48F16 #16B440 #163BB4 #B4168A
square
#B48F16 #16B440 #163BB4 #B4168A
split-complementary
#B48F16 #168AB4 #4016B4
monochromatic
#473809 #7D640F #B48F16 #E4B723 #EBC95A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B48F16#FFFFFF#000000##000000
##B48F161.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: #b48f16;
/* rgb */ color: rgb(180, 143, 22);
/* oklch */ color: oklch(66.6% 0.131 89.3);
Tailwind
colors: {
  custom: {
    50: '#cfaf62',
    500: '#b48f16',
    950: '#000000',
  },
}
SCSS
$custom: #b48f16;
$custom-light: #cfaf62;
$custom-dark: #000000;
JSON
{
  "hex": "#b48f16",
  "rgb": {
    "r": 180,
    "g": 143,
    "b": 22
  },
  "hsl": {
    "h": 45.949,
    "s": 78.218,
    "l": 39.608
  },
  "oklch": {
    "l": 0.66626,
    "c": 0.13099,
    "h": 89.3
  },
  "luminance": 0.29406
}

Semantic roles & 50–950 ramp

primary
#B48F16
secondary
#5873CE
accent
#60F533
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#151006
muted
#837F7A

Preview Lab

Preview with #B48F16

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

Preview Lab → · Contrast checker → · Palette generator →

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