#B49C17#B49C17

#B49C17 is a light, vivid yellow. Relative luminance 0.335; OKLCH L 69.4% C 0.138 H 97.6°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#B49C17
RGBrgb(180, 156, 23)
HSLhsl(51, 77%, 40%)
HSVhsv(51, 87%, 71%)
CMYKcmyk(0%, 13.3%, 87.2%, 29.4%)
CIE-LABlab(64.60, -3.73, 64.33)
CIE-LCHlch(64.60, 64.43, 93.32°)
OKLaboklab(69.36% -0.0183 0.1369)
OKLCHoklch(69.36% 0.138 97.6)
XYZxyz(30.8672, 33.5438, 5.6592)
Luminance0.3354 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B49C17 #172FB4
analogous
#B44E17 #B49C17 #7EB417
triadic
#B49C17 #17B49C #9C17B4
tetradic
#B49C17 #17B44E #172FB4 #B4177E
square
#B49C17 #17B44E #172FB4 #B4177E
split-complementary
#B49C17 #177EB4 #4E17B4
monochromatic
#473E09 #7E6D10 #B49C17 #E3C625 #EAD45B

Accessibility & contrast

On white

2.72
#B49C17 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#B49C17 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B49C17
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B49C17#FFFFFF#000000##000000
##B49C171.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9800
Deuteranopia (green-blind)
#B3A023
Tritanopia (blue-blind)
#C38F85
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b49c17;
/* rgb */ color: rgb(180, 156, 23);
/* oklch */ color: oklch(69.4% 0.138 97.6);
Tailwind
colors: {
  custom: {
    50: '#cfb865',
    500: '#b49c17',
    950: '#000000',
  },
}
SCSS
$custom: #b49c17;
$custom-light: #cfb865;
$custom-dark: #000000;
JSON
{
  "hex": "#b49c17",
  "rgb": {
    "r": 180,
    "g": 156,
    "b": 23
  },
  "hsl": {
    "h": 50.828,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.69359,
    "c": 0.1381,
    "h": 97.6
  },
  "luminance": 0.33542
}

Semantic roles & 50–950 ramp

primary
#B49C17
secondary
#596BCE
accent
#51F434
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#151106
muted
#83807A

Preview Lab

Preview with #B49C17

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

Preview Lab → · Contrast checker → · Palette generator →

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