#B48D18#B48D18

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

Color values

HEX#B48D18
RGBrgb(180, 141, 24)
HSLhsl(45, 76%, 40%)
HSVhsv(45, 87%, 71%)
CMYKcmyk(0%, 21.7%, 86.7%, 29.4%)
CIE-LABlab(60.62, 4.44, 60.85)
CIE-LCHlch(60.62, 61.01, 85.82°)
OKLaboklab(66.22% 0.0049 0.1293)
OKLCHoklch(66.22% 0.129 87.8)
XYZxyz(28.5140, 28.8210, 4.9252)
Luminance0.2882 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B48D18 #183FB4
analogous
#B43F18 #B48D18 #8DB418
triadic
#B48D18 #18B48D #8D18B4
tetradic
#B48D18 #18B43F #183FB4 #B4188D
square
#B48D18 #18B43F #183FB4 #B4188D
split-complementary
#B48D18 #188DB4 #3F18B4
monochromatic
#48380A #7E6311 #B48D18 #E2B327 #E9C65D

Accessibility & contrast

On white

3.10
#B48D18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B48D18#FFFFFF#000000##000000
##B48D181.003.106.766.76
#FFFFFF3.101.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b48d18;
/* rgb */ color: rgb(180, 141, 24);
/* oklch */ color: oklch(66.2% 0.129 87.8);
Tailwind
colors: {
  custom: {
    50: '#cfad63',
    500: '#b48d18',
    950: '#000000',
  },
}
SCSS
$custom: #b48d18;
$custom-light: #cfad63;
$custom-dark: #000000;
JSON
{
  "hex": "#b48d18",
  "rgb": {
    "r": 180,
    "g": 141,
    "b": 24
  },
  "hsl": {
    "h": 45,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.66221,
    "c": 0.12943,
    "h": 87.8
  },
  "luminance": 0.28819
}

Semantic roles & 50–950 ramp

primary
#B48D18
secondary
#5B77CD
accent
#64F335
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#151006
muted
#837F7A

Preview Lab

Preview with #B48D18

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

Preview Lab → · Contrast checker → · Palette generator →

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