#B49C31#B49C31

#B49C31 is a light, vivid yellow. Relative luminance 0.337; OKLCH L 69.5% C 0.125 H 96.1°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#B49C31
RGBrgb(180, 156, 49)
HSLhsl(49, 57%, 45%)
HSVhsv(49, 73%, 71%)
CMYKcmyk(0%, 13.3%, 72.8%, 29.4%)
CIE-LABlab(64.73, -2.80, 56.25)
CIE-LCHlch(64.73, 56.32, 92.85°)
OKLaboklab(69.5% -0.0133 0.1247)
OKLCHoklch(69.5% 0.125 96.1)
XYZxyz(31.2668, 33.7036, 7.7637)
Luminance0.3370 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B49C31 #3149B4
analogous
#B45B31 #B49C31 #8AB431
triadic
#B49C31 #31B49C #9C31B4
tetradic
#B49C31 #31B45B #3149B4 #B4318A
square
#B49C31 #31B45B #3149B4 #B4318A
split-complementary
#B49C31 #318AB4 #5B31B4
monochromatic
#544917 #847224 #B49C31 #D0B952 #DDCC82

Accessibility & contrast

On white

2.71
#B49C31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#B49C31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B49C31
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B49C31#FFFFFF#000000##000000
##B49C311.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9920
Deuteranopia (green-blind)
#B2A037
Tritanopia (blue-blind)
#C29087
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b49c31;
/* rgb */ color: rgb(180, 156, 49);
/* oklch */ color: oklch(69.5% 0.125 96.1);
Tailwind
colors: {
  custom: {
    50: '#ceb870',
    500: '#b49c31',
    950: '#000000',
  },
}
SCSS
$custom: #b49c31;
$custom-light: #ceb870;
$custom-dark: #000000;
JSON
{
  "hex": "#b49c31",
  "rgb": {
    "r": 180,
    "g": 156,
    "b": 49
  },
  "hsl": {
    "h": 49.008,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.69501,
    "c": 0.12537,
    "h": 96.1
  },
  "luminance": 0.33702
}

Semantic roles & 50–950 ramp

primary
#B49C31
secondary
#7B88C6
accent
#63E047
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B49C31

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

Preview Lab → · Contrast checker → · Palette generator →

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