#B49531#B49531

#B49531 is a light, vivid yellow. Relative luminance 0.314; OKLCH L 68.0% C 0.121 H 91.2°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#B49531
RGBrgb(180, 149, 49)
HSLhsl(46, 57%, 45%)
HSVhsv(46, 73%, 71%)
CMYKcmyk(0%, 17.2%, 72.8%, 29.4%)
CIE-LABlab(62.86, 0.99, 54.41)
CIE-LCHlch(62.86, 54.42, 88.96°)
OKLaboklab(68.03% -0.0025 0.1208)
OKLCHoklch(68.03% 0.121 91.2)
XYZxyz(30.1259, 31.4218, 7.3834)
Luminance0.3142 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B49531 #3150B4
analogous
#B45431 #B49531 #91B431
triadic
#B49531 #31B495 #9531B4
tetradic
#B49531 #31B454 #3150B4 #B43191
square
#B49531 #31B454 #3150B4 #B43191
split-complementary
#B49531 #3191B4 #5431B4
monochromatic
#544517 #846D24 #B49531 #D0B252 #DDC882

Accessibility & contrast

On white

2.88
#B49531 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#B49531 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B49531
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B49531#FFFFFF#000000##000000
##B495311.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69322
Deuteranopia (green-blind)
#AD9C36
Tritanopia (blue-blind)
#C38981
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b49531;
/* rgb */ color: rgb(180, 149, 49);
/* oklch */ color: oklch(68.0% 0.121 91.2);
Tailwind
colors: {
  custom: {
    50: '#ceb370',
    500: '#b49531',
    950: '#000000',
  },
}
SCSS
$custom: #b49531;
$custom-light: #ceb370;
$custom-dark: #000000;
JSON
{
  "hex": "#b49531",
  "rgb": {
    "r": 180,
    "g": 149,
    "b": 49
  },
  "hsl": {
    "h": 45.802,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.68028,
    "c": 0.1208,
    "h": 91.2
  },
  "luminance": 0.3142
}

Semantic roles & 50–950 ramp

primary
#B49531
secondary
#7B8CC6
accent
#6CE047
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B49531

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

Preview Lab → · Contrast checker → · Palette generator →

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