#B49B16#B49B16

#B49B16 is a light, vivid yellow. Relative luminance 0.332; OKLCH L 69.1% C 0.138 H 97.0°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#B49B16
RGBrgb(180, 155, 22)
HSLhsl(51, 78%, 40%)
HSVhsv(51, 88%, 71%)
CMYKcmyk(0%, 13.9%, 87.8%, 29.4%)
CIE-LABlab(64.33, -3.21, 64.33)
CIE-LCHlch(64.33, 64.41, 92.86°)
OKLaboklab(69.14% -0.0169 0.1367)
OKLCHoklch(69.14% 0.138 97)
XYZxyz(30.6903, 33.2057, 5.5517)
Luminance0.3320 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B49B16 #162FB4
analogous
#B44C16 #B49B16 #7EB416
triadic
#B49B16 #16B49B #9B16B4
tetradic
#B49B16 #16B44C #162FB4 #B4167E
square
#B49B16 #16B44C #162FB4 #B4167E
split-complementary
#B49B16 #167EB4 #4C16B4
monochromatic
#473D09 #7D6C0F #B49B16 #E4C623 #EBD45A

Accessibility & contrast

On white

2.75
#B49B16 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#B49B16 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B49B16
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B49B16#FFFFFF#000000##000000
##B49B161.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9700
Deuteranopia (green-blind)
#B29F23
Tritanopia (blue-blind)
#C38E84
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b49b16;
/* rgb */ color: rgb(180, 155, 22);
/* oklch */ color: oklch(69.1% 0.138 97.0);
Tailwind
colors: {
  custom: {
    50: '#cfb864',
    500: '#b49b16',
    950: '#000000',
  },
}
SCSS
$custom: #b49b16;
$custom-light: #cfb864;
$custom-dark: #000000;
JSON
{
  "hex": "#b49b16",
  "rgb": {
    "r": 180,
    "g": 155,
    "b": 22
  },
  "hsl": {
    "h": 50.506,
    "s": 78.218,
    "l": 39.608
  },
  "oklch": {
    "l": 0.69143,
    "c": 0.13775,
    "h": 97
  },
  "luminance": 0.33204
}

Semantic roles & 50–950 ramp

primary
#B49B16
secondary
#586ACE
accent
#52F533
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#151106
muted
#83807A

Preview Lab

Preview with #B49B16

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

Preview Lab → · Contrast checker → · Palette generator →

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