#B49318#B49318

#B49318 is a light, vivid yellow. Relative luminance 0.306; OKLCH L 67.5% C 0.132 H 91.9°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#B49318
RGBrgb(180, 147, 24)
HSLhsl(47, 76%, 40%)
HSVhsv(47, 87%, 71%)
CMYKcmyk(0%, 18.3%, 86.7%, 29.4%)
CIE-LABlab(62.20, 1.16, 62.14)
CIE-LCHlch(62.20, 62.15, 88.93°)
OKLaboklab(67.47% -0.0044 0.1322)
OKLCHoklch(67.47% 0.132 91.9)
XYZxyz(29.4228, 30.6386, 5.2281)
Luminance0.3064 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B49318 #1839B4
analogous
#B44518 #B49318 #87B418
triadic
#B49318 #18B493 #9318B4
tetradic
#B49318 #18B445 #1839B4 #B41887
square
#B49318 #18B445 #1839B4 #B41887
split-complementary
#B49318 #1887B4 #4518B4
monochromatic
#483B0A #7E6711 #B49318 #E2BB27 #E9CC5D

Accessibility & contrast

On white

2.95
#B49318 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#B49318 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B49318
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B49318#FFFFFF#000000##000000
##B493181.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#AD9A22
Tritanopia (blue-blind)
#C4867D
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b49318;
/* rgb */ color: rgb(180, 147, 24);
/* oklch */ color: oklch(67.5% 0.132 91.9);
Tailwind
colors: {
  custom: {
    50: '#cfb264',
    500: '#b49318',
    950: '#000000',
  },
}
SCSS
$custom: #b49318;
$custom-light: #cfb264;
$custom-dark: #000000;
JSON
{
  "hex": "#b49318",
  "rgb": {
    "r": 180,
    "g": 147,
    "b": 24
  },
  "hsl": {
    "h": 47.308,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.67465,
    "c": 0.13228,
    "h": 91.9
  },
  "luminance": 0.30637
}

Semantic roles & 50–950 ramp

primary
#B49318
secondary
#5B73CD
accent
#5DF335
background
#FDFAF6
surface
#FAF5EB
border
#D3CFC6
text
#151006
muted
#837F7A

Preview Lab

Preview with #B49318

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

Preview Lab → · Contrast checker → · Palette generator →

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