#B48F18#B48F18

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

Color values

HEX#B48F18
RGBrgb(180, 143, 24)
HSLhsl(46, 76%, 40%)
HSVhsv(46, 87%, 71%)
CMYKcmyk(0%, 20.6%, 86.7%, 29.4%)
CIE-LABlab(61.15, 3.35, 61.28)
CIE-LCHlch(61.15, 61.37, 86.87°)
OKLaboklab(66.63% 0.0018 0.1303)
OKLCHoklch(66.63% 0.13 89.2)
XYZxyz(28.8116, 29.4162, 5.0244)
Luminance0.2941 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B48F18 #183DB4
analogous
#B44118 #B48F18 #8BB418
triadic
#B48F18 #18B48F #8F18B4
tetradic
#B48F18 #18B441 #183DB4 #B4188B
square
#B48F18 #18B441 #183DB4 #B4188B
split-complementary
#B48F18 #188BB4 #4118B4
monochromatic
#48390A #7E6411 #B48F18 #E2B627 #E9C85D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B48F18#FFFFFF#000000##000000
##B48F181.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)
#AA9821
Tritanopia (blue-blind)
#C4817A
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b48f18;
/* rgb */ color: rgb(180, 143, 24);
/* oklch */ color: oklch(66.6% 0.130 89.2);
Tailwind
colors: {
  custom: {
    50: '#cfaf63',
    500: '#b48f18',
    950: '#000000',
  },
}
SCSS
$custom: #b48f18;
$custom-light: #cfaf63;
$custom-dark: #000000;
JSON
{
  "hex": "#b48f18",
  "rgb": {
    "r": 180,
    "g": 143,
    "b": 24
  },
  "hsl": {
    "h": 45.769,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.66634,
    "c": 0.1303,
    "h": 89.2
  },
  "luminance": 0.29414
}

Semantic roles & 50–950 ramp

primary
#B48F18
secondary
#5B76CD
accent
#62F335
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#151006
muted
#837F7A

Preview Lab

Preview with #B48F18

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

Preview Lab → · Contrast checker → · Palette generator →

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