#B49B31#B49B31

#B49B31 is a light, vivid yellow. Relative luminance 0.334; OKLCH L 69.3% C 0.125 H 95.4°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#B49B31
RGBrgb(180, 155, 49)
HSLhsl(49, 57%, 45%)
HSVhsv(49, 73%, 71%)
CMYKcmyk(0%, 13.9%, 72.8%, 29.4%)
CIE-LABlab(64.46, -2.26, 55.99)
CIE-LCHlch(64.46, 56.03, 92.31°)
OKLaboklab(69.29% -0.0118 0.1241)
OKLCHoklch(69.29% 0.125 95.4)
XYZxyz(31.0997, 33.3694, 7.7080)
Luminance0.3337 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B49B31 #314AB4
analogous
#B45A31 #B49B31 #8BB431
triadic
#B49B31 #31B49B #9B31B4
tetradic
#B49B31 #31B45A #314AB4 #B4318B
square
#B49B31 #31B45A #314AB4 #B4318B
split-complementary
#B49B31 #318BB4 #5A31B4
monochromatic
#544817 #847224 #B49B31 #D0B852 #DDCC82

Accessibility & contrast

On white

2.74
#B49B31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#B49B31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B49B31
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B49B31#FFFFFF#000000##000000
##B49B311.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9820
Deuteranopia (green-blind)
#B2A037
Tritanopia (blue-blind)
#C28F86
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b49b31;
/* rgb */ color: rgb(180, 155, 49);
/* oklch */ color: oklch(69.3% 0.125 95.4);
Tailwind
colors: {
  custom: {
    50: '#ceb870',
    500: '#b49b31',
    950: '#000000',
  },
}
SCSS
$custom: #b49b31;
$custom-light: #ceb870;
$custom-dark: #000000;
JSON
{
  "hex": "#b49b31",
  "rgb": {
    "r": 180,
    "g": 155,
    "b": 49
  },
  "hsl": {
    "h": 48.55,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.69289,
    "c": 0.12466,
    "h": 95.4
  },
  "luminance": 0.33368
}

Semantic roles & 50–950 ramp

primary
#B49B31
secondary
#7B89C6
accent
#65E047
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B49B31

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

Preview Lab → · Contrast checker → · Palette generator →

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